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

Q
qijun 已提交
2
if(WITH_GPU)
T
tensor-tang 已提交
3
    nv_library(math_function SRCS math_function.cc math_function.cu DEPS cblas device_context)
Q
qijun 已提交
4
else()
T
tensor-tang 已提交
5
    cc_library(math_function SRCS math_function.cc DEPS cblas device_context)
Q
qijun 已提交
6
endif()
Q
qijun 已提交
7

Q
qijun 已提交
8
nv_test(math_function_test SRCS math_function_test.cc DEPS math_function tensor)