File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -139,12 +139,22 @@ class Diago_DavSubspace
139139
140140 bool test_exit_cond (const int & ntry, const int & notconv, const bool & scf);
141141
142+ #ifdef __DSP
143+ using resmem_complex_op = base_device::memory::resize_memory_op_mt<T, Device>;
144+ using delmem_complex_op = base_device::memory::delete_memory_op_mt<T, Device>;
145+ #else
142146 using resmem_complex_op = base_device::memory::resize_memory_op<T, Device>;
143147 using delmem_complex_op = base_device::memory::delete_memory_op<T, Device>;
148+ #endif
144149 using setmem_complex_op = base_device::memory::set_memory_op<T, Device>;
145150
151+ #ifdef __DSP
152+ using resmem_real_op = base_device::memory::resize_memory_op_mt<Real, Device>;
153+ using delmem_real_op = base_device::memory::delete_memory_op_mt<Real, Device>;
154+ #else
146155 using resmem_real_op = base_device::memory::resize_memory_op<Real, Device>;
147156 using delmem_real_op = base_device::memory::delete_memory_op<Real, Device>;
157+ #endif
148158 using setmem_real_op = base_device::memory::set_memory_op<Real, Device>;
149159
150160 using resmem_real_h_op = base_device::memory::resize_memory_op<Real, base_device::DEVICE_CPU>;
You can’t perform that action at this time.
0 commit comments