Skip to content

Commit

Permalink
unchecked axis access
Browse files Browse the repository at this point in the history
  • Loading branch information
kali committed Sep 3, 2024
1 parent 5d06614 commit 293114a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/ops/matmul/optimized.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ impl EvalOp for OptMatMul {
let uops: Vec<FusedSpec> =
self.micro_ops.iter().map(|o| o.resolve_trivial(&inputs, &mut c)).collect();
self.mmm.run_with_scratch_space(
self.m.to_i64()? as usize,
self.n.to_i64()? as usize,
*c_shape.get_unchecked(self.c_m_axis),
*c_shape.get_unchecked(self.c_n_axis),
scratch.as_mut(),
&uops,
)?;
Expand Down

0 comments on commit 293114a

Please sign in to comment.