pub fn provide_driver(provider: Provider) -> Result<(), LoadError>Expand description
Serves the CUDA driver’s functions from provider, such as an emulator, instead of loading the driver.
§Errors
Returns LoadError::AlreadyLoaded if a driver function was already called or the driver was already provided.