|
|
|
@ -93,13 +93,6 @@ if(WITH_GPU)
|
|
|
|
|
target_link_libraries(device_context cuda_resource_pool)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
|
if(WITH_GPU)
|
|
|
|
|
get_property(cuda_modules GLOBAL PROPERTY CUDA_MODULES)
|
|
|
|
|
target_link_libraries(device_context ${cuda_modules})
|
|
|
|
|
endif(WITH_GPU)
|
|
|
|
|
endif(WIN32)
|
|
|
|
|
|
|
|
|
|
nv_test(device_context_test SRCS device_context_test.cu DEPS device_context gpu_info)
|
|
|
|
|
|
|
|
|
|
cc_test(init_test SRCS init_test.cc DEPS device_context)
|
|
|
|
|