Skip to main content

cubecl_runtime/config/
throughput.rs

1#[cfg(std_io)]
2use super::cache::CacheConfig;
3
4/// Configuration for throughput in `CubeCL`.
5#[derive(Default, Clone, Debug, serde::Serialize, serde::Deserialize)]
6pub struct ThroughputConfig {
7    /// Cache location for storing throughput results.
8    #[serde(default)]
9    #[cfg(std_io)]
10    pub cache: CacheConfig,
11
12    /// Whether to enable caching of throughput results.
13    #[serde(default)]
14    pub disable_cache: bool,
15}