Skip to content

Commit 010fa2e

Browse files
author
abacus_fixer
committed
fix bug in GPU version
1 parent dd2c9c5 commit 010fa2e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

source/source_pw/module_pwdft/op_pw_exx_pot.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,8 @@ template void get_exx_stress_potential<float, base_device::DEVICE_GPU>(const K_V
608608
bool,
609609
double,
610610
int,
611-
int);
611+
int,
612+
const CoulombParam&);
612613
template void get_exx_stress_potential<double, base_device::DEVICE_GPU>(const K_Vectors*,
613614
const ModulePW::PW_Basis_K*,
614615
ModulePW::PW_Basis*,
@@ -617,6 +618,7 @@ template void get_exx_stress_potential<double, base_device::DEVICE_GPU>(const K_
617618
bool,
618619
double,
619620
int,
620-
int);
621+
int,
622+
const CoulombParam&);
621623
#endif
622624
} // namespace hamilt

0 commit comments

Comments
 (0)