|
|
|
@ -37,8 +37,8 @@ include(simd)
|
|
|
|
|
################################ Configurations #######################################
|
|
|
|
|
option(WITH_GPU "Compile PaddlePaddle with NVIDIA GPU" ${CUDA_FOUND})
|
|
|
|
|
option(WITH_AVX "Compile PaddlePaddle with AVX intrinsics" ${AVX_FOUND})
|
|
|
|
|
option(WITH_MKLDNN "Compile PaddlePaddle with mkl-dnn support." OFF)
|
|
|
|
|
option(WITH_MKLML "Compile PaddlePaddle with mklml package." OFF)
|
|
|
|
|
option(WITH_MKLDNN "Compile PaddlePaddle with mkl-dnn support." ${AVX_FOUND})
|
|
|
|
|
option(WITH_MKLML "Compile PaddlePaddle with mklml package." ${AVX_FOUND})
|
|
|
|
|
option(WITH_DSO "Compile PaddlePaddle with dynamic linked CUDA" ON)
|
|
|
|
|
option(WITH_TESTING "Compile PaddlePaddle with unit testing" ON)
|
|
|
|
|
option(WITH_SWIG_PY "Compile PaddlePaddle with inference api" ON)
|
|
|
|
@ -94,7 +94,7 @@ endif()
|
|
|
|
|
|
|
|
|
|
########################################################################################
|
|
|
|
|
|
|
|
|
|
include(external/mklml) # download mklml package
|
|
|
|
|
include(external/mklml) # download mklml package
|
|
|
|
|
include(external/zlib) # download, build, install zlib
|
|
|
|
|
include(external/gflags) # download, build, install gflags
|
|
|
|
|
include(external/glog) # download, build, install glog
|
|
|
|
|