Skip to content

Commit

Permalink
Merge pull request #376 from robertknight/avx512-fix
Browse files Browse the repository at this point in the history
Fix AVX-512 build of im2col.rs
  • Loading branch information
robertknight authored Oct 8, 2024
2 parents 099268d + 9fac2af commit b56f459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ops/conv/im2col.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ impl<'a> VirtualIm2Col<'a, f32> {
cols: Range<usize>,
) {
use std::arch::x86_64::__m512i;
const NR_REGS: usize = vec_count::<__m512>(KERNEL_AVX512_NR);
const NR_REGS: usize = vec_count::<__m512i>(KERNEL_AVX512_NR);
self.pack_b_impl::<__m512i, NR_REGS>(out, panel_width, rows.clone(), cols.clone());
}
}
Expand Down

0 comments on commit b56f459

Please sign in to comment.