We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4736246 commit 72bb211Copy full SHA for 72bb211
paddle/math/tests/CMakeLists.txt
@@ -16,12 +16,10 @@ add_simple_unittest(test_CpuGpuVector)
16
add_simple_unittest(test_Allocator)
17
18
if(WITH_GPU)
19
- if(COMPILER_SUPPORT_CXX11)
20
- CUDA_ADD_EXECUTABLE(test_Tensor test_Tensor.cu)
21
- link_paddle_test(test_Tensor)
22
- CUDA_ADD_EXECUTABLE(test_lazyAssign test_lazyAssign.cu)
23
- link_paddle_test(test_lazyAssign)
24
- endif()
+ 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)
25
else()
26
compile_cu_as_cpp(test_Tensor.cu)
27
add_unittest(test_Tensor test_Tensor.cu)
0 commit comments