free_compute_cache

Function free_compute_cache 

Source
#[unsafe(no_mangle)]
pub extern "C" fn free_compute_cache()
Expand description

since version 2.0.0 api does caching for gpu resources on the memory . the api does deallocate the caches automatically , but in some cases you might want to do it manually so just call free_compute_cache();