Skip to content

Commit 977b713

Browse files
committed
update compile bug
1 parent a105a3c commit 977b713

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/module_basis/module_pw/pw_transform_gpu.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "module_basis/module_pw/kernels/pw_op.h"
44
namespace ModulePW
55
{
6-
// #if (defined(__CUDA) || defined(__ROCM))
6+
#if (defined(__CUDA) || defined(__ROCM))
77
template <typename FPTYPE>
88
void PW_Basis::real2recip_gpu(const FPTYPE* in,
99
std::complex<FPTYPE>* out,
@@ -159,5 +159,5 @@ template void PW_Basis::recip2real_gpu<float>(const std::complex<float>* in,
159159
const bool add,
160160
const float factor) const;
161161

162-
// #endif
162+
#endif
163163
} // namespace ModulePW

0 commit comments

Comments
 (0)