Skip to content

Commit 262b8cd

Browse files
authored
Update phi_operator_kernel.cu to better support GPU
fix the errors related to the "atomicAdd" function. #6547
1 parent 1c54579 commit 262b8cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/source_lcao/module_gint/temp_gint/kernel/phi_operator_kernel.cu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "phi_operator_kernel.cuh"
22
#include "gint_helper.cuh"
33
#include "sph.cuh"
4+
#include "source_base/module_device/device.h"
45

56
namespace ModuleGint
67
{
@@ -577,4 +578,4 @@ __global__ void phi_dot_dphi_r_kernel(
577578
}
578579
}
579580

580-
}
581+
}

0 commit comments

Comments
 (0)