Module fil_rustacuda::error
source · Expand description
Types for error handling
Error handling in CUDA:
RustaCUDA uses the CudaError
enum to represent the errors returned by
the CUDA API. It is important to note that nearly every function in CUDA (and therefore
RustaCUDA) can fail. Even those functions which have no normal failure conditions can return
errors related to previous asynchronous launches.
Enums
- Error enum which represents all the potential errors returned by the CUDA driver API.
Type Definitions
- Result type for most CUDA functions.
- Special result type for
drop
functions which includes the un-dropped value with the error.