pub type Error = Error<cudaError_t>;Expand description
A runtime-API error: a non-success cudaError_t, a loader failure, or a
feature-not-supported-on-this-driver error.
Aliased Type§
pub enum Error {
Status {
status: cudaError_t,
},
Loader(LoaderError),
FeatureNotSupported {
api: &'static str,
since: CudaVersion,
},
}Variants§
Status
The library returned a non-success status code.
Fields
§
status: cudaError_tLoader(LoaderError)
The dynamic loader failed.
FeatureNotSupported
The requested API is newer than the installed driver supports.