CMakeLists.txt 530 字节
Newer Older
1 2 3 4 5 6 7
if(NOT LITE_WITH_CUDA)
    return()
endif()

nv_library(cuda_activation SRCS activation.cu)
nv_library(cuda_scale SRCS scale.cu)
nv_library(cuda_type_trans SRCS type_trans.cu)
8
nv_library(cuda_transpose SRCS transpose.cu )
9 10
nv_library(cudnn_conv SRCS cudnn_conv.cc DEPS cuda_activation cuda_scale
cuda_type_trans)
Z
Zhaolong Xing 已提交
11
nv_library(cuda_elementwise SRCS elementwise.cu )
12 13 14 15 16 17 18

set (
 math_cuda
 cudnn_conv
 cuda_activation
 cuda_scale
 cuda_type_trans
19
 cuda_transpose
Z
Zhaolong Xing 已提交
20
 cuda_elementwise
21 22 23
)

set(math_cuda "${math_cuda}" CACHE GLOBAL "math cuda")