Explorar el Código

ggml : add support for the RISCV architecture (#1616)

apcameron hace 2 años
padre
commit
a6704643b6
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      ggml.c

+ 2 - 0
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__