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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to