macro_rules! cuda_call {
($expr:expr) => { ... };
}Expand description
Invoke a raw CUDA Driver API function and convert the result to CudaResult.
The expression is evaluated inside an unsafe block and its CUresult
return value is passed through check.
§Examples
ⓘ
cuda_call!(cuInit(0))?;