CMakeLists.txt 313 字节
Newer Older
Y
Yan Chunwei 已提交
1 2 3
if(NOT LITE_WITH_CUDA)
    return()
endif()
4
get_property(cuda_deps GLOBAL PROPERTY CUDA_MODULES)
Y
Yan Chunwei 已提交
5

6 7
nv_library(target_wrapper_cuda SRCS target_wrapper.cc DEPS ${cuda_deps})
nv_library(cuda_blas SRCS blas.cc DEPS ${cuda_deps})
8 9

lite_cc_library(cuda_context SRCS context.cc DEPS device_info)
Y
Yan Chunwei 已提交
10
 
11
add_subdirectory(math)