Skip to main content

Module error

Module error 

Source
Expand description

Error types for the OxiCUDA driver crate.

This module provides CudaError, the primary error type returned by driver API wrappers, DriverLoadError for library-loading failures, the check function for converting raw result codes, and the cuda_call! macro for ergonomic unsafe FFI calls.

Enums§

CudaError
Primary error type for CUDA driver API calls.
DriverLoadError
Errors that can occur while dynamically loading libcuda.so / nvcuda.dll.

Functions§

check
Convert a raw CUresult into a CudaResult<()>.

Type Aliases§

CudaResult
Convenience result alias used throughout the crate.