tqchen commented on a change in pull request #6515:
URL: https://github.com/apache/incubator-tvm/pull/6515#discussion_r493899130
##########
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:
For readability, let us do `${USE_CUDA} MATCHES ${IS_TRUE_PATTERN}` :)
----------------------------------------------------------------
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:
[email protected]