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

   Previously, individual unit tests would call 
`tvm.contrib.nvcc.get_target_compute_version` and return early.  This was 
repeated boilerplate in many tests, and incorrectly reported a test as `PASSED` 
if the required infrastructure wasn't present.
   
   This commit introduces `tvm.testing.requires_cuda_compute_version`, a 
decorator that checks the CUDA compute version and applies 
`pytest.mark.skipif`.  If required infrastructure isn't present, a test will be 
reported as `SKIPPED`.
   


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