summaryrefslogtreecommitdiff
path: root/ggml.h
diff options
context:
space:
mode:
authorEric Sommerlade <es0m@users.noreply.github.com>2023-09-13 02:54:20 +0100
committerGitHub <noreply@github.com>2023-09-12 21:54:20 -0400
commitb52b29ab9d601bb298050bcd2261169bc917ba2c (patch)
tree5d0f8bf56ba8a22be66363e18679e754f79a8ebe /ggml.h
parent4f7cd6ba9c88d3ca9a207b6e04f8b2b1efd707b8 (diff)
arm64 support for windows (#3007)
Co-authored-by: Cebtenzzre <cebtenzzre@gmail.com>
Diffstat (limited to 'ggml.h')
-rw-r--r--ggml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ggml.h b/ggml.h
index c936823d..6d4cf465 100644
--- a/ggml.h
+++ b/ggml.h
@@ -270,7 +270,7 @@ extern "C" {
#if defined(__ARM_NEON) && defined(__CUDACC__)
typedef half ggml_fp16_t;
-#elif defined(__ARM_NEON)
+#elif defined(__ARM_NEON) && !defined(_MSC_VER)
typedef __fp16 ggml_fp16_t;
#else
typedef uint16_t ggml_fp16_t;