Skip to main content

empty_cache

Function empty_cache 

Source
pub fn empty_cache(device_ordinal: usize)
Expand description

Drop all cached buffers for a device, releasing GPU memory back to the CUDA driver.