Class KernelCacheConfig
- Namespace
- DotCompute.Backends.CUDA.Compilation
- Assembly
- DotCompute.Backends.CUDA.dll
Configuration for kernel compilation cache.
public sealed class KernelCacheConfig
- Inheritance
-
KernelCacheConfig
- Inherited Members
Properties
CacheDirectory
Gets or sets the cache directory path.
public string? CacheDirectory { get; set; }
Property Value
CacheExpiryHours
Gets or sets the cache expiry time in hours.
public int CacheExpiryHours { get; set; }
Property Value
DiskCachePath
Gets or sets the disk cache path for compiled kernels. If null, uses the default system temp directory.
public string? DiskCachePath { get; set; }
Property Value
EnableDiskCache
Gets or sets whether disk caching is enabled.
public bool EnableDiskCache { get; set; }
Property Value
MaxCachedKernels
Gets or sets the maximum number of cached kernels.
public int MaxCachedKernels { get; set; }
Property Value
MaxDiskCacheSizeMB
Gets or sets the maximum disk cache size in megabytes.
public int MaxDiskCacheSizeMB { get; set; }
Property Value
MaxMemoryCacheSizeMB
Gets or sets the maximum memory cache size in megabytes.
public int MaxMemoryCacheSizeMB { get; set; }