File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 55
66#include < iostream>
77
8- #ifdef __CUDA
9- #undef __CUDA
108#include " global_function.h"
11- #define __CUDA
12- #endif
139#include " module_base/parallel_reduce.h"
1410
1511namespace ModuleBase
Original file line number Diff line number Diff line change @@ -132,8 +132,8 @@ AddTest(
132132
133133AddTest(
134134 TARGET base_math_chebyshev
135- LIBS parameter ${math_libs} device container
136- SOURCES math_chebyshev_test.cpp ../blas_connector.cpp ../ math_chebyshev.cpp ../tool_quit.cpp ../global_variable.cpp ../timer.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../parallel_reduce.cpp
135+ LIBS parameter ${math_libs} base device container
136+ SOURCES math_chebyshev_test.cpp ../math_chebyshev.cpp ../tool_quit.cpp ../global_variable.cpp ../timer.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../parallel_reduce.cpp
137137)
138138
139139AddTest(
@@ -144,14 +144,14 @@ AddTest(
144144
145145AddTest(
146146 TARGET base_opt_CG
147- LIBS parameter ${math_libs}
148- SOURCES opt_CG_test.cpp opt_test_tools.cpp ../blas_connector.cpp ../ opt_CG.cpp ../opt_DCsrch.cpp ../global_variable.cpp ../parallel_reduce.cpp
147+ LIBS parameter ${math_libs} base device
148+ SOURCES opt_CG_test.cpp opt_test_tools.cpp ../opt_CG.cpp ../opt_DCsrch.cpp ../global_variable.cpp ../parallel_reduce.cpp
149149)
150150
151151AddTest(
152152 TARGET base_opt_TN
153- LIBS parameter ${math_libs}
154- SOURCES opt_TN_test.cpp opt_test_tools.cpp ../blas_connector.cpp ../ opt_CG.cpp ../opt_DCsrch.cpp ../global_variable.cpp ../parallel_reduce.cpp
153+ LIBS parameter ${math_libs} base device
154+ SOURCES opt_TN_test.cpp opt_test_tools.cpp ../opt_CG.cpp ../opt_DCsrch.cpp ../global_variable.cpp ../parallel_reduce.cpp
155155)
156156
157157AddTest(
You can’t perform that action at this time.
0 commit comments