Skip to main content

device_reset

Function device_reset 

Source
pub fn device_reset() -> CudaRtResult<()>
Expand description

Explicitly destroys and cleans up all resources associated with the current device in the current process.

Mirrors cudaDeviceReset.

ยงErrors

Propagates driver errors.