Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matmul nbits to optimize memory layout for avx instructions #22203

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

avxvnni, matmul_nbit kernel

b26b075
Select commit
Loading
Failed to load commit list.
Draft

Matmul nbits to optimize memory layout for avx instructions #22203

avxvnni, matmul_nbit kernel
b26b075
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / PREfast succeeded Dec 15, 2024 in 4s

6 new alerts

New alerts in code changed by this pull request

  • 6 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 369 in onnxruntime/core/mlas/lib/sqnbitgemm_kernel_avx512.cpp

See this annotation in the file changed.

Code scanning / PREfast

The const variable 'BlkLen' can be computed at compile-time. Consider using constexpr (con.5). Warning

The const variable 'BlkLen' can be computed at compile-time. Consider using constexpr (con.5).

Check warning on line 370 in onnxruntime/core/mlas/lib/sqnbitgemm_kernel_avx512.cpp

See this annotation in the file changed.

Code scanning / PREfast

The const variable 'SubBlkLen' can be computed at compile-time. Consider using constexpr (con.5). Warning

The const variable 'SubBlkLen' can be computed at compile-time. Consider using constexpr (con.5).

Check warning on line 35 in onnxruntime/core/mlas/lib/sqnbitgemm_kernel_avx512_int8_blklen32.h

See this annotation in the file changed.

Code scanning / PREfast

The const variable 'mask' can be computed at compile-time. Consider using constexpr (con.5). Warning

The const variable 'mask' can be computed at compile-time. Consider using constexpr (con.5).

Check warning on line 50 in onnxruntime/core/mlas/lib/sqnbitgemm_kernel_avx512_int8_blklen32.h

See this annotation in the file changed.

Code scanning / PREfast

The const variable 'mask' can be computed at compile-time. Consider using constexpr (con.5). Warning

The const variable 'mask' can be computed at compile-time. Consider using constexpr (con.5).

Check warning on line 37 in onnxruntime/core/mlas/lib/sqnbitgemm_kernel_avx512_int8_blklen64.h

See this annotation in the file changed.

Code scanning / PREfast

The const variable 'mask' can be computed at compile-time. Consider using constexpr (con.5). Warning

The const variable 'mask' can be computed at compile-time. Consider using constexpr (con.5).

Check warning on line 58 in onnxruntime/core/mlas/lib/sqnbitgemm_kernel_avx512_int8_blklen64.h

See this annotation in the file changed.

Code scanning / PREfast

The const variable 'mask' can be computed at compile-time. Consider using constexpr (con.5). Warning

The const variable 'mask' can be computed at compile-time. Consider using constexpr (con.5).