Skip to content

Commit fa67173

Browse files
author
dyzheng
committed
Fix: compiling error for ROCM
1 parent 7c46674 commit fa67173

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

source/module_hamilt_pw/hamilt_pwdft/kernels/rocm/stress_op.hip.cu

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ __global__ void cal_stress_nl(
291291
++iat;
292292
sum+=nproj;
293293
}//ia
294-
__syncwarp();
295294
warp_reduce(stress_var);
296295
if (threadIdx.x % WARP_SIZE == 0) {
297296
atomicAdd(stress + ipol * 3 + jpol, stress_var);

0 commit comments

Comments
 (0)