Skip to content

Commit da566e5

Browse files
committed
fix compile of DCU
1 parent 3ac2eea commit da566e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ if(USE_ROCM)
104104
module_hamilt_pw/hamilt_pwdft/kernels/rocm/wf_op.hip.cu
105105
module_hamilt_pw/hamilt_pwdft/kernels/rocm/vnl_op.hip.cu
106106
module_base/kernels/rocm/math_kernel_op.hip.cu
107-
module_base/kernels/rocm/math_kernel_op.hip_vec.cu
107+
module_base/kernels/rocm/math_kernel_op_vec.hip.cu
108108
module_base/kernels/rocm/math_ylm_op.hip.cu
109109
module_hamilt_general/module_xc/kernels/rocm/xc_functional_op.hip.cu
110110
)

source/module_base/kernels/rocm/math_kernel_op_vec.hip.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ void vector_mul_real_op<double, base_device::DEVICE_GPU>::operator()(const int d
8787
{
8888
int thread = 1024;
8989
int block = (dim + thread - 1) / thread;
90-
hipLaunchKernelGGL(HIP_KERNEL_NAME(vector_div_constant_kernel<double>),
90+
hipLaunchKernelGGL(HIP_KERNEL_NAME(vector_mul_real_kernel<double>),
9191
dim3(block),
9292
dim3(thread),
9393
0,

0 commit comments

Comments
 (0)