提交 d646e476 编写于 作者: K Kexin Zhao

fix cmake

上级 0f4bf1c9
......@@ -18,11 +18,11 @@ add_simple_unittest(test_CpuGpuVector)
add_simple_unittest(test_Allocator)
if(WITH_GPU)
nv_test(test_float16_gpu SRCS test_float16.cu)
CUDA_ADD_EXECUTABLE(test_Tensor test_Tensor.cu)
link_paddle_test(test_Tensor)
CUDA_ADD_EXECUTABLE(test_lazyAssign test_lazyAssign.cu)
link_paddle_test(test_lazyAssign)
link_paddle_test(test_lazyAssign)
nv_test(test_float16_gpu SRCS test_float16.cu)
else()
compile_cu_as_cpp(test_Tensor.cu)
add_unittest(test_Tensor test_Tensor.cu)
......@@ -30,8 +30,8 @@ else()
add_unittest(test_lazyAssign test_lazyAssign.cu)
endif(WITH_GPU)
cc_test(test_float16 SRCS test_float16.cpp)
add_simple_unittest(test_FPException)
add_simple_unittest(test_GpuProfiler)
add_simple_unittest(test_BaseMatrix)
add_simple_unittest(test_Matrix)
cc_test(test_float16 SRCS test_float16.cpp)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册