Define TVM_FFI_CHECK_CUDA_ERROR

Define TVM_FFI_CHECK_CUDA_ERROR#

Define Documentation#

TVM_FFI_CHECK_CUDA_ERROR(stmt)#

Macro for checking CUDA runtime API errors.

This macro checks the return value of CUDA runtime API calls and throws a RuntimeError with detailed error information if the call fails.

Parameters:
  • stmt – The CUDA runtime API call to check.