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§
- Cuda
Error - Error enum which represents all the potential errors returned by the CUDA driver API.
Type Aliases§
- Cuda
Result - Result type for most CUDA functions.
- Drop
Result - Special result type for
dropfunctions which includes the un-dropped value with the error.