diff --git a/crates/cubecl-cpp/src/shared/base.rs b/crates/cubecl-cpp/src/shared/base.rs index f70e6b28..211737a3 100644 --- a/crates/cubecl-cpp/src/shared/base.rs +++ b/crates/cubecl-cpp/src/shared/base.rs @@ -36,11 +36,18 @@ pub trait Dialect: fn warp_any(out: &IndexedVariable) -> String; } -#[derive(Clone, Debug, Default)] +#[derive(Clone, Debug)] pub struct CompilationOptions { pub warp_size: u32, } +impl Default for CompilationOptions { + fn default() -> Self { + Self { warp_size: 32 } + } +} + + #[allow(clippy::too_many_arguments)] #[derive(Clone, Debug, Default)] pub struct CppCompiler {