summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorapcameron <37645737+apcameron@users.noreply.github.com>2023-05-27 21:03:25 +0100
committerGitHub <noreply@github.com>2023-05-27 23:03:25 +0300
commita6704643b62243bc4b6bbcd727d63d44e01a1002 (patch)
treeb36b8e53922c25621830eb50bdbd8fbe7b45fb99
parent0df7d63e5ba0ab8856476e121a03b985d6f15c9d (diff)
ggml : add support for the RISCV architecture (#1616)
-rw-r--r--ggml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ggml.c b/ggml.c
index 14972464..07ea92a5 100644
--- a/ggml.c
+++ b/ggml.c
@@ -186,10 +186,12 @@ typedef double ggml_float;
#if defined(_MSC_VER) || defined(__MINGW32__)
#include <intrin.h>
#else
+#if !defined(__riscv)
#include <immintrin.h>
#endif
#endif
#endif
+#endif
#ifdef __F16C__