Add CUDA support
This commit is contained in:
parent
fbc34a0bdd
commit
80d3b6276e
7 changed files with 223 additions and 10 deletions
10
tests/cuda_unit_tests/CMakeLists.txt
Normal file
10
tests/cuda_unit_tests/CMakeLists.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
|
||||
|
||||
add_executable(${NAME}_cuda_tests
|
||||
vec3_test.cu
|
||||
)
|
||||
|
||||
target_link_libraries(${NAME}_cuda_tests gtest gtest_main)
|
||||
target_link_libraries(${NAME}_cuda_tests ${NAME})
|
||||
|
||||
add_test(NAME Vec3CudaTests COMMAND ${CMAKE_BINARY_DIR}/tests/cuda_unit_tests/${NAME}_cuda_tests)
|
Loading…
Add table
Add a link
Reference in a new issue