You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/11/14 10:34:56 UTC

[GitHub] [tvm] echuraev commented on a diff in pull request #13362: [OpenCL] Introduce OpenCL wrapper to TVM

echuraev commented on code in PR #13362:
URL: https://github.com/apache/tvm/pull/13362#discussion_r1021331334


##########
cmake/modules/OpenCL.cmake:
##########
@@ -50,9 +50,18 @@ endif(USE_AOCL)
 
 if(USE_OPENCL)
   if (NOT OpenCL_FOUND)
-    find_package(OpenCL REQUIRED)
+    find_package(OpenCL)

Review Comment:
   This `find_package` also set `OpenCL_LIBRARIES` this variable specifies which OpenCL library should be linked. But agree with you that the system OpenCL library should be found [here](https://github.com/apache/tvm/pull/13362/files#diff-45747f6e0c43e6e7579d2c50160a4bdd25108cf04e98dc7ed8f1b36ddcad09b1R19). 
   I will remove this condition.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org