pub fn init() -> CudaResult<()>Expand description
Initialize the CUDA driver API.
This must be called before any other OxiCUDA function.
It dynamically loads libcuda.so (Linux), nvcuda.dll (Windows),
and initializes the CUDA driver.
Returns Err(CudaError::NotInitialized) on macOS or systems
without an NVIDIA GPU.