]> git.djapps.eu Git - pkg/ggml/sources/ggml/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>
Sat, 11 May 2024 18:30:08 +0000 (21:30 +0300)
ggml-ci

src/ggml-impl.h

index 2087f7ded7b9977a006ed87e20f1d1f62f1ec642..94a1cc66854f43c0d4f2292c2eeeb9ddd65c8c93 100644 (file)
@@ -313,7 +313,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)