Skip to content

Commit b4945b6

Browse files
authored
[Feature] Allow compile LCAO version on DSP (#7013)
* Allow compile LCAO version on DSP * Nooo, I shouldn't have modified the INPUT file
1 parent f781fac commit b4945b6

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ endif()
189189
# Use DSP hardware
190190
if (USE_DSP)
191191
set(USE_ELPA OFF)
192-
set(ENABLE_LCAO OFF)
193192
set(ABACUS_BIN_NAME abacus_dsp)
194193
endif()
195194

source/source_base/kernels/math_kernel_op.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ template struct matrix_mul_vector_op<std::complex<double>, base_device::DEVICE_C
182182
template struct matrixTranspose_op<double, base_device::DEVICE_CPU>;
183183
#endif
184184
#ifdef __DSP
185+
template struct gemm_op_mt<float, base_device::DEVICE_CPU>;
186+
template struct gemm_op_mt<double, base_device::DEVICE_CPU>;
185187
template struct gemv_op_mt<std::complex<float>, base_device::DEVICE_CPU>;
186188
template struct gemv_op_mt<std::complex<double>, base_device::DEVICE_CPU>;
187189
template struct gemm_op_mt<std::complex<float>, base_device::DEVICE_CPU>;

0 commit comments

Comments
 (0)