You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2021/06/22 18:01:47 UTC
[tvm] branch main updated: Fix Intel OpenCL SDK search path for
Windows (#8301)
This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 1a5bf99 Fix Intel OpenCL SDK search path for Windows (#8301)
1a5bf99 is described below
commit 1a5bf9920678c190ff0ca301e79670750645ece1
Author: Andrey Malyshev <el...@gmail.com>
AuthorDate: Tue Jun 22 21:01:32 2021 +0300
Fix Intel OpenCL SDK search path for Windows (#8301)
Co-authored-by: Andrey Malyshev <an...@gmail.com>
---
cmake/utils/FindOpenCL.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/utils/FindOpenCL.cmake b/cmake/utils/FindOpenCL.cmake
index 9b9f8ec..c65d46e 100644
--- a/cmake/utils/FindOpenCL.cmake
+++ b/cmake/utils/FindOpenCL.cmake
@@ -50,7 +50,7 @@ macro(find_opencl use_opencl)
if (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY STREQUAL "ONLY")
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
endif()
- find_library(OpenCL_LIBRARIES NAMES OpenCL PATHS ${__opencl_sdk}/lib ${__opencl_sdk}/lib64)
+ find_library(OpenCL_LIBRARIES NAMES OpenCL PATHS ${__opencl_sdk}/lib ${__opencl_sdk}/lib64 ${__opencl_sdk}/lib/x64/)
if(OpenCL_LIBRARIES)
set(OpenCL_FOUND TRUE)
endif()