forked from ggerganov/llama.cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
68 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -501,7 +501,7 @@ void ggml_gemv_q4_0_4x8_q8_0(int n, float * restrict s, size_t bs, const void * | |
"__ARM_FEATURE_SVE defined, use the Q4_0_8_8 quantization format for optimal performance"); | ||
} | ||
#endif | ||
#if defined(__ARM_NEON) && defined(__ARM_FEATURE_MATMUL_INT8) | ||
#if defined(__ARM_NEON) && defined(__ARM_FEATURE_MATMUL_INT8) && !defined(_MSC_VER) | ||
This comment has been minimized.
Sorry, something went wrong. |
||
const void * b_ptr = vx; | ||
const void * a_ptr = vy; | ||
float * res_ptr = s; | ||
|
@@ -1271,7 +1271,7 @@ void ggml_gemm_q4_0_4x8_q8_0(int n, float * restrict s, size_t bs, const void * | |
"__ARM_FEATURE_SVE defined, use the Q4_0_8_8 quantization format for optimal performance"); | ||
} | ||
#endif | ||
#if defined(__ARM_NEON) && defined(__ARM_FEATURE_MATMUL_INT8) | ||
#if defined(__ARM_NEON) && defined(__ARM_FEATURE_MATMUL_INT8) && !defined(_MSC_VER) | ||
This comment has been minimized.
Sorry, something went wrong.
AndreasKunar
|
||
const void * b_ptr = vx; | ||
const void * a_ptr = vy; | ||
float * res_ptr = s; | ||
|
Oops, something went wrong.
clang masquerades as MSVC, you should better test with "&& ! ((defined(_MSC_VER)) && ! defined(clang))" - otherwise the conditional also excludes clang for arm64/Windows
P.S: see PR#ggerganov#8531