Skip to content

Commit 3c02d02

Browse files
committed
use template instead of change
1 parent d382d6f commit 3c02d02

File tree

6 files changed

+748
-565
lines changed

6 files changed

+748
-565
lines changed

source/module_basis/module_pw/test_gpu/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ if (USE_CUDA)
33
AddTest(
44
TARGET pw_test_gpu
55
LIBS parameter ${math_libs} base planewave device FFTW3::FFTW3_FLOAT
6-
SOURCES pw_test.cpp test.cpp pw_basis_C2R.cpp pw_basis_C2C.cpp pw_basis_k_C2C.cpp
6+
SOURCES pw_test.cpp test.cpp test2.cpp pw_basis_C2R.cpp pw_basis_C2C.cpp pw_basis_k_C2C.cpp
77
)
88
endif()
99

source/module_basis/module_pw/test_gpu/pw_basis_C2C.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ class MixedTypeTest : public ::testing::Test
131131
}
132132
}
133133
}
134-
// const int size = nx * ny * nz;
135134
h_rhog = new complex<T>[npw];
136135
h_rhogout = new complex<T>[npw];
137136

0 commit comments

Comments
 (0)