Merge pull request #3461 from tensor-tang/mklso
add shared mkl lib in whlrevert-3824-remove_grad_op_type
commit
33d502e73b
@ -1,13 +1,8 @@
|
||||
if(WITH_MKLML)
|
||||
set(BLAS_LIB mklml)
|
||||
else()
|
||||
set(BLAS_LIB cblas)
|
||||
endif()
|
||||
|
||||
if(WITH_GPU)
|
||||
nv_library(math_function SRCS math_function.cc math_function.cu DEPS ${BLAS_LIB} device_context)
|
||||
nv_library(math_function SRCS math_function.cc math_function.cu DEPS cblas device_context)
|
||||
else()
|
||||
cc_library(math_function SRCS math_function.cc DEPS ${BLAS_LIB} device_context)
|
||||
cc_library(math_function SRCS math_function.cc DEPS cblas device_context)
|
||||
endif()
|
||||
|
||||
nv_test(math_function_test SRCS math_function_test.cc DEPS math_function tensor)
|
||||
|
Loading…
Reference in new issue