Skip to content

Commit a670464

Browse files
authored
ggml : add support for the RISCV architecture (#1616)
1 parent 0df7d63 commit a670464

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ggml.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,12 @@ typedef double ggml_float;
186186
#if defined(_MSC_VER) || defined(__MINGW32__)
187187
#include <intrin.h>
188188
#else
189+
#if !defined(__riscv)
189190
#include <immintrin.h>
190191
#endif
191192
#endif
192193
#endif
194+
#endif
193195

194196
#ifdef __F16C__
195197

0 commit comments

Comments
 (0)