mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 01:34:22 +00:00
Split tests to cpu and cuda
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user