rkimball commented on a change in pull request #6515:
URL: https://github.com/apache/incubator-tvm/pull/6515#discussion_r492172680



##########
File path: cmake/util/FindCUDA.cmake
##########
@@ -37,7 +37,7 @@
 #
 macro(find_cuda use_cuda)
   set(__use_cuda ${use_cuda})
-  if(__use_cuda STREQUAL "ON")
+  if(${__use_cuda})

Review comment:
       This case does not need any special treatment, it is checking if 
__use_cuda is a boolean true value. If __use_cuda is a string (path) then this 
test will fail and the test on line 42 below is checked.




----------------------------------------------------------------
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.

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


Reply via email to