Skip to content

Commit 663aa3b

Browse files
committed
fix compile
1 parent e41207b commit 663aa3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/module_base/kernels/math_kernel_op.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,11 +382,13 @@ template struct line_minimize_with_block_op<std::complex<float>, base_device::DE
382382

383383
template struct scal_op<double, base_device::DEVICE_CPU>;
384384
template struct axpy_op<std::complex<double>, base_device::DEVICE_CPU>;
385+
template struct axpy_op<double, base_device::DEVICE_CPU>;
385386
template struct gemv_op<std::complex<double>, base_device::DEVICE_CPU>;
386387
template struct gemv_op<double, base_device::DEVICE_CPU>;
387388
template struct gemm_op<std::complex<double>, base_device::DEVICE_CPU>;
388389
template struct gemm_op<double, base_device::DEVICE_CPU>;
389390
template struct dot_real_op<std::complex<double>, base_device::DEVICE_CPU>;
391+
template struct dot_real_op<double, base_device::DEVICE_CPU>;
390392
template struct vector_div_constant_op<std::complex<double>, base_device::DEVICE_CPU>;
391393
template struct vector_mul_vector_op<std::complex<double>, base_device::DEVICE_CPU>;
392394
template struct vector_div_vector_op<std::complex<double>, base_device::DEVICE_CPU>;
@@ -397,8 +399,6 @@ template struct calc_grad_with_block_op<std::complex<double>, base_device::DEVIC
397399
template struct line_minimize_with_block_op<std::complex<double>, base_device::DEVICE_CPU>;
398400

399401
#ifdef __LCAO
400-
template struct axpy_op<double, base_device::DEVICE_CPU>;
401-
template struct dot_real_op<double, base_device::DEVICE_CPU>;
402402
template struct vector_mul_vector_op<double, base_device::DEVICE_CPU>;
403403
template struct vector_div_constant_op<double, base_device::DEVICE_CPU>;
404404
template struct vector_div_vector_op<double, base_device::DEVICE_CPU>;

0 commit comments

Comments
 (0)