Skip to content

Commit

Permalink
Merge fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurBrussee committed Nov 22, 2024
1 parent c5f4ad4 commit 927c3fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/cubecl-wgpu/src/compiler/wgsl/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,13 @@ impl cubecl_core::Compiler for WgslCompiler {
fn compile(
shader: cube::KernelDefinition,
compilation_options: &Self::CompilationOptions,
mode: ExecutionMode,
) -> Self::Representation {
let mut compiler = Self {
compilation_options: compilation_options.clone(),
..Self::default()
};
compiler.compile_shader(shader)
compiler.compile_shader(shader, mode)
}

fn elem_size(elem: cube::Elem) -> usize {
Expand Down

0 comments on commit 927c3fe

Please sign in to comment.