Skip to content

Commit d7fbea0

Browse files
author
dyzheng
committed
Fix: compiling error of DCU
1 parent fa67173 commit d7fbea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/module_hamilt_pw/hamilt_stodft/kernels/rocm/hpsi_norm_op.hip.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void hamilt::hpsi_norm_op<FPTYPE, base_device::DEVICE_GPU>::operator()(const bas
4545
npwk_max, npwk, Ebar, DeltaE,
4646
reinterpret_cast<thrust::complex<FPTYPE>*>(hpsi),
4747
reinterpret_cast<const thrust::complex<FPTYPE>*>(psi_in));
48-
cudaCheckOnDebug();
48+
hipCheckOnDebug();
4949
}
5050

5151
template struct hpsi_norm_op<float, base_device::DEVICE_GPU>;

0 commit comments

Comments
 (0)