Skip to content

Commit

Permalink
Fix for cubecl update
Browse files Browse the repository at this point in the history
  • Loading branch information
wingertge committed Feb 13, 2025
1 parent 134aff7 commit bbc92c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/burn-jit/src/fusion/matmul/optimization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,19 +408,19 @@ fn matmul_launch_kernel<'a, R: Runtime, EG: Numeric, S: MatmulSelector>(
|| TypeId::of::<EG>() == TypeId::of::<flex32>()
{
S::select_kernel::<FusedMatmulSpec<EG, half::f16, f32>, R>(
client, input, output, problem, plane_size,
client, input, output, problem, plane_size, false,
)
} else if TypeId::of::<EG>() == TypeId::of::<half::bf16>() {
S::select_kernel::<FusedMatmulSpec<EG, half::bf16, f32>, R>(
client, input, output, problem, plane_size,
client, input, output, problem, plane_size, false,
)
} else if S::stage_tf32_supported() {
S::select_kernel::<FusedMatmulSpec<EG, tf32, f32>, R>(
client, input, output, problem, plane_size,
client, input, output, problem, plane_size, false,
)
} else {
S::select_kernel::<FusedMatmulSpec<EG, EG, f32>, R>(
client, input, output, problem, plane_size,
client, input, output, problem, plane_size, false,
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ where
cube_dim,
cube_count,
advanced_config,
false,
);
let size = SMM::stage_shape(&smm_config);

Expand Down

0 comments on commit bbc92c6

Please sign in to comment.