Fix bug with CUDA impl and add CUDA tests
This commit is contained in:
parent
5155ec21aa
commit
4269333aa2
4 changed files with 328 additions and 2 deletions
9
tests/cuda_unit_tests/CMakeLists.txt
Normal file
9
tests/cuda_unit_tests/CMakeLists.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
|
||||
|
||||
add_executable(${NAME}_cuda_tests
|
||||
test_potential.cu
|
||||
)
|
||||
|
||||
target_link_libraries(${NAME}_cuda_tests gtest gtest_main)
|
||||
target_link_libraries(${NAME}_cuda_tests ${CMAKE_PROJECT_NAME}_cuda_lib)
|
||||
add_test(NAME ${NAME}CudaTests COMMAND ${CMAKE_BINARY_DIR}/tests/unit_tests/${NAME}_tests)
|
Loading…
Add table
Add a link
Reference in a new issue