From 6393d29b72c43bce62a99c2031e3d1ee1c61fa61 Mon Sep 17 00:00:00 2001 From: liaogang Date: Tue, 21 Mar 2017 15:52:16 +0800 Subject: [PATCH] Set Paddle with AVX_FOUND --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3e85a9016..4b0682c4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ include(simd) ################################ Configurations ####################################### option(WITH_GPU "Compile PaddlePaddle with NVIDIA GPU" ${CUDA_FOUND}) -option(WITH_AVX "Compile PaddlePaddle with AVX intrinsics" OFF) +option(WITH_AVX "Compile PaddlePaddle with AVX intrinsics" ${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) -- GitLab