rkimball commented on a change in pull request #6515:
URL: https://github.com/apache/incubator-tvm/pull/6515#discussion_r494432838
##########
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:
I had not made an IS_TRUE_PATTERN because `if(${VAR})` works in all
cases, but I will add the pattern for symmetry.
----------------------------------------------------------------
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]