Skip to content

Commit

Permalink
Ensure inline(always)
Browse files Browse the repository at this point in the history
  • Loading branch information
wingertge committed Mar 1, 2025
1 parent f962f21 commit 90ca4f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/burn-ndarray/src/ops/simd/conv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ impl<E: VMulAdd + Element, const PAD: bool, const STRIDE: bool, const GROUPS: bo
{
type Output = ();

#[inline(always)]
fn with_simd<S: Simd>(self, simd: S) -> Self::Output {
#[allow(unused_unsafe)]
unsafe {
Expand Down

0 comments on commit 90ca4f3

Please sign in to comment.