Skip to content

Commit 39c65bf

Browse files
authored
Merge pull request #850 from UWB-Biocomputing/AvikantDevelopment
Device Vector added and Integrated with Neuro Vertices
2 parents 5a73bb7 + d72c9cb commit 39c65bf

File tree

10 files changed

+921
-376
lines changed

10 files changed

+921
-376
lines changed

CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,12 @@ endif()
462462
target_compile_options(gtest PRIVATE -Wno-error=maybe-uninitialized)
463463
target_compile_options(gtest_main PRIVATE -Wno-error=maybe-uninitialized)
464464

465+
if(ENABLE_CUDA)
466+
set(cuda_TestSources
467+
Testing/UnitTesting/DeviceVectorTests.cpp)
468+
set_source_files_properties(${cuda_TestSources} PROPERTIES LANGUAGE CUDA)
469+
endif()
470+
465471
add_executable(tests
466472
Testing/RunTests.cpp
467473
Testing/UnitTesting/OperationManagerTests.cpp
@@ -481,7 +487,8 @@ add_executable(tests
481487
Testing/Utils/CircularBufferTests.cpp
482488
Testing/UnitTesting/EventBufferTests.cpp
483489
Testing/UnitTesting/XmlRecorderTests.cpp
484-
Testing/UnitTesting/Hdf5RecorderTests.cpp)
490+
Testing/UnitTesting/Hdf5RecorderTests.cpp
491+
Testing/UnitTesting/DeviceVectorTests.cpp)
485492

486493
# Links the Googletest framework with the testing executable
487494
target_link_libraries(tests gtest gtest_main)

0 commit comments

Comments
 (0)