未验证 提交 103479d8 编写于 作者: D dolphin8 提交者: GitHub

Merge pull request #1042 from dolphin8/opencl

fix CmakeLists.txt
...@@ -76,7 +76,7 @@ if (GPU_CL) ...@@ -76,7 +76,7 @@ if (GPU_CL)
# opencl version # opencl version
add_definitions(-DCL_TARGET_OPENCL_VERSION=220) add_definitions(-DCL_TARGET_OPENCL_VERSION=220)
link_libraries(/Users/liuruilong/GitHub/paddle-mobile/third_party/opencl/libOpenCL.so) link_libraries(${CMAKE_CURRENT_LIST_DIR}/third_party/opencl/libOpenCL.so)
include_directories(third_party/opencl/OpenCL-Headers) include_directories(third_party/opencl/OpenCL-Headers)
else() else()
file(GLOB_RECURSE _tmp_list src/framework/cl/*.cpp src/operators/kernel/cl/*.cpp) file(GLOB_RECURSE _tmp_list src/framework/cl/*.cpp src/operators/kernel/cl/*.cpp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册