提交 4af77add 编写于 作者: H Haipeng Wang

openmp is disabled by default

上级 1f3fc18b
......@@ -26,7 +26,7 @@ file(GLOB_RECURSE PADDLE_MOBILE_H src/*.h)
include_directories(src/)
option(USE_OPENMP "openmp support" ON)
option(USE_OPENMP "openmp support" OFF)
if(USE_OPENMP)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
add_definitions(-DPADDLE_MOBILE_USE_OPENMP)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册