Split tests to cpu and cuda

This commit is contained in:
2024-09-07 21:24:34 +02:00
parent f8220f0ec1
commit 591507ed21
16 changed files with 29 additions and 10 deletions

View File

@@ -17,8 +17,12 @@ endif()
if(USE_CUDA)
enable_language(CUDA)
add_definitions(-DUSE_CUDA)
message(STATUS "Building library with CUDA support")
else()
message(STATUS "Building library without CUDA support")
endif()
file(GLOB_RECURSE CPU_SOURCES
src/layers/*.cpp
src/model/*.cpp