Skip to content

Commit 19bb3a0

Browse files
committed
Finish transporting codes
1 parent 6576614 commit 19bb3a0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source/module_base/kernels/dsp/dsp_connector.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,10 @@ void cgemm_mth_(const char *transa, const char *transb,
6868

6969
// The next is dsp utils. It may be moved to other files if this file get too huge
7070

71-
base_device::AbacusDevice_t device = {};
72-
7371
template <typename T>
74-
void dsp_dav_subspace_reduce(T* hcc, T* scc, nbase, int nbase_x, int notconv, MPI_Comm diag_comm){
72+
void dsp_dav_subspace_reduce(T* hcc, T* scc, int nbase, int nbase_x, int notconv, MPI_Comm diag_comm){
7573

76-
using syncmem_complex_op = base_device::memory::synchronize_memory_op<T, DEVICE_CPU, DEVICE_CPU>;
74+
using syncmem_complex_op = base_device::memory::synchronize_memory_op<T, base_device::DEVICE_CPU, base_device::DEVICE_CPU>;
7775

7876
auto* swap = new T[notconv * nbase_x];
7977
auto* target = new T[notconv * nbase_x];

0 commit comments

Comments
 (0)