Lunderberg opened a new pull request, #16903:
URL: https://github.com/apache/tvm/pull/16903

   This commit resolves a bug that was introduced in
   https://github.com/apache/tvm/pull/16377.  If no CUDA-capable GPUs are 
present, the call to `cudaGetDeviceCount` will return an error, which will be 
raised as an exception by the `CUDA_CALL` macro.  However, checking the 
`kExist` flag is valid even if no GPUs are present.
   
   This commit removes the use of `CUDA_CALL`, and instead returns false in 
this case.


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