cubecl-runtime 0.11.0-pre.1

Crate that helps creating high performance async runtimes for CubeCL.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[cfg(std_io)]
use super::cache::CacheConfig;

/// Configuration for throughput in `CubeCL`.
#[derive(Default, Clone, Debug, serde::Serialize, serde::Deserialize)]
pub struct ThroughputConfig {
    /// Cache location for storing throughput results.
    #[serde(default)]
    #[cfg(std_io)]
    pub cache: CacheConfig,

    /// Whether to enable caching of throughput results.
    #[serde(default)]
    pub disable_cache: bool,
}