CMakeLists.txt 481 字节
Newer Older
Q
qijun 已提交
1
if (WITH_GPU)
Q
qijun 已提交
2 3 4 5 6
    if (WITH_MKLML)
        nv_library(math_function SRCS math_function.cc math_function.cu DEPS mklml device_context)
    else()
        nv_library(math_function SRCS math_function.cc math_function.cu DEPS cblas device_context)
    endif()
Q
qijun 已提交
7
else()
Q
qijun 已提交
8 9 10 11 12
    if (WITH_MKLML)
        cc_library(math_function SRCS math_function.cc DEPS mklml device_context)
    else()
        cc_library(math_function SRCS math_function.cc DEPS cblas device_context)
    endif()
Q
qijun 已提交
13
endif()