Facilities for exception-based handling of errors originating to the NVRTC library, including a basic exception class wrapping ::std::runtime_error.
More...
|
|
template<source_kind_t Kind> |
| constexpr bool | cuda::is_failure (rtc::status_t< Kind > status) |
| | Determine whether the API call returning the specified status had failed.
|
| |
| template<source_kind_t Kind> |
| void | cuda::throw_if_error (rtc::status_t< Kind > status, const ::std::string &message) noexcept(false) |
| | Do nothing... More...
|
| |
| template<source_kind_t Kind> |
| void | cuda::throw_if_error (rtc::status_t< Kind > status) noexcept(false) |
| | Does nothing - unless the status indicates an error, in which case a cuda::runtime_error exception is thrown. More...
|
| |
|
|
template<source_kind_t Kind> |
| constexpr bool | cuda::is_success (rtc::status_t< Kind > status) |
| | Determine whether the API call returning the specified status had succeeded.
|
| |
|
|
inline ::std::string | cuda::describe (rtc::status_t< cuda_cpp > status) |
| | Obtain a brief textual explanation for a specified kind of CUDA Runtime API status or error code.
|
| |
Facilities for exception-based handling of errors originating to the NVRTC library, including a basic exception class wrapping ::std::runtime_error.