]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ggml : fix __MSC_VER -> _MSC_VER (llama/6977)
authorGeorgi Gerganov <redacted>
Mon, 29 Apr 2024 14:55:02 +0000 (17:55 +0300)
committerGeorgi Gerganov <redacted>
Mon, 13 May 2024 08:02:26 +0000 (11:02 +0300)
ggml-ci

ggml-impl.h

index 3cb0a599783e599f8b720b26811433ad3e729707..c4be87c29e2e648d0fa6b055fd6c9c69ddf7be25 100644 (file)
@@ -320,7 +320,7 @@ inline static int32x4_t ggml_vdotq_s32(int32x4_t acc, int8x16_t a, int8x16_t b)
 
 #endif // defined(__ARM_NEON)
 
-#if defined(__ARM_NEON) && !defined(__MSC_VER)
+#if defined(__ARM_NEON) && !defined(_MSC_VER)
 
 #define GGML_COMPUTE_FP16_TO_FP32(x) ggml_compute_fp16_to_fp32(x)
 #define GGML_COMPUTE_FP32_TO_FP16(x) ggml_compute_fp32_to_fp16(x)