Skip to content

Commit ff71d0d

Browse files
committed
fix compile
1 parent b6d32b1 commit ff71d0d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source/module_base/test/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,8 @@ AddTest(
134134

135135
AddTest(
136136
TARGET base_math_chebyshev
137-
LIBS parameter ${math_libs}
138-
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
139-
../module_container/ATen/kernels/blas.cpp ../module_device/memory_op.cpp ../module_device/device.cpp
137+
LIBS parameter ${math_libs} device container
138+
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
140139
)
141140

142141
AddTest(

0 commit comments

Comments
 (0)