Skip to main content

set_cache_config

Function set_cache_config 

Source
pub fn set_cache_config(config: CacheConfig) -> CudaResult<()>
Expand description

Sets the cache configuration for the active context.

ยงErrors

Returns CudaError::NotSupported if the driver lacks cuCtxSetCacheConfig, or another error on failure.