CMakeLists.txt 386 字节
Newer Older
Q
qijun 已提交
1

Q
qijun 已提交
2
if(WITH_GPU)
H
hedaoyuan 已提交
3 4
    nv_library(math_function SRCS math_function.cc math_function.cu im2col.cc 
    im2col.cu DEPS cblas device_context)
Q
qijun 已提交
5
else()
H
hedaoyuan 已提交
6
    cc_library(math_function SRCS math_function.cc im2col.cc DEPS cblas device_context)
Q
qijun 已提交
7
endif()
Q
qijun 已提交
8

Q
qijun 已提交
9
nv_test(math_function_test SRCS math_function_test.cc DEPS math_function tensor)
H
hedaoyuan 已提交
10
cc_test(im2col_test SRCS im2col_test.cc DEPS math_function tensor)