Skip to content

Commit aceeb16

Browse files
Undo cuda aware mpi
1 parent a8d71b2 commit aceeb16

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

source/source_basis/module_pw/pw_basis.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,11 @@ class PW_Basis
248248
ModuleBase::FFT_Bundle fft_bundle;
249249
//The position of pointer in and out can be equal(in-place transform) or different(out-of-place transform).
250250

251-
template <typename FPTYPE>
252-
void real2recip(const FPTYPE* in,
253-
std::complex<FPTYPE>* out,
254-
const bool add = false,
255-
const FPTYPE factor = 1.0) const; // in:(nplane,nx*ny) ; out(nz, ns)
251+
template <typename FPTYPE>
252+
void real2recip(const FPTYPE* in,
253+
std::complex<FPTYPE>* out,
254+
const bool add = false,
255+
const FPTYPE factor = 1.0) const; // in:(nplane,nx*ny) ; out(nz, ns)
256256
template <typename FPTYPE>
257257
void real2recip(const std::complex<FPTYPE>* in,
258258
std::complex<FPTYPE>* out,
@@ -269,16 +269,16 @@ void real2recip(const FPTYPE* in,
269269
const bool add = false,
270270
const FPTYPE factor = 1.0) const; // in:(nz, ns) ; out(nplane,nx*ny)
271271

272-
template <typename FPTYPE>
273-
void real2recip_gpu(const FPTYPE* in,
274-
std::complex<FPTYPE>* out,
275-
const bool add = false,
276-
const FPTYPE factor = 1.0) const; // in:(nplane,nx*ny) ; out(nz, ns)
277272
template <typename FPTYPE>
278-
void real2recip_gpu(const std::complex<FPTYPE>* in,
279-
std::complex<FPTYPE>* out,
280-
const bool add = false,
281-
const FPTYPE factor = 1.0) const; // in:(nplane,nx*ny) ; out(nz, ns)
273+
void real2recip_gpu(const FPTYPE* in,
274+
std::complex<FPTYPE>* out,
275+
const bool add = false,
276+
const FPTYPE factor = 1.0) const; // in:(nplane,nx*ny) ; out(nz, ns)
277+
template <typename FPTYPE>
278+
void real2recip_gpu(const std::complex<FPTYPE>* in,
279+
std::complex<FPTYPE>* out,
280+
const bool add = false,
281+
const FPTYPE factor = 1.0) const; // in:(nplane,nx*ny) ; out(nz, ns)
282282
template <typename FPTYPE>
283283
void recip2real_gpu(const std::complex<FPTYPE>* in,
284284
FPTYPE* out,

0 commit comments

Comments
 (0)