diff --git a/source/module_base/kernels/math_kernel_op.cpp b/source/module_base/kernels/math_kernel_op.cpp index 59a3c2ace8..5646a089c2 100644 --- a/source/module_base/kernels/math_kernel_op.cpp +++ b/source/module_base/kernels/math_kernel_op.cpp @@ -382,11 +382,13 @@ template struct line_minimize_with_block_op, base_device::DE template struct scal_op; template struct axpy_op, base_device::DEVICE_CPU>; +template struct axpy_op; template struct gemv_op, base_device::DEVICE_CPU>; template struct gemv_op; template struct gemm_op, base_device::DEVICE_CPU>; template struct gemm_op; template struct dot_real_op, base_device::DEVICE_CPU>; +template struct dot_real_op; template struct vector_div_constant_op, base_device::DEVICE_CPU>; template struct vector_mul_vector_op, base_device::DEVICE_CPU>; template struct vector_div_vector_op, base_device::DEVICE_CPU>; @@ -397,8 +399,6 @@ template struct calc_grad_with_block_op, base_device::DEVIC template struct line_minimize_with_block_op, base_device::DEVICE_CPU>; #ifdef __LCAO -template struct axpy_op; -template struct dot_real_op; template struct vector_mul_vector_op; template struct vector_div_constant_op; template struct vector_div_vector_op;