Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ __global__ void cal_stress_nl(
++iat;
sum+=nproj;
}//ia
__syncwarp();
warp_reduce(stress_var);
if (threadIdx.x % WARP_SIZE == 0) {
atomicAdd(stress + ipol * 3 + jpol, stress_var);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void hamilt::hpsi_norm_op<FPTYPE, base_device::DEVICE_GPU>::operator()(const bas
npwk_max, npwk, Ebar, DeltaE,
reinterpret_cast<thrust::complex<FPTYPE>*>(hpsi),
reinterpret_cast<const thrust::complex<FPTYPE>*>(psi_in));
cudaCheckOnDebug();
hipCheckOnDebug();
}

template struct hpsi_norm_op<float, base_device::DEVICE_GPU>;
Expand Down