mirror of
https://git.adityakumar.xyz/llama.cpp.git
synced 2025-02-22 15:40:02 +00:00
ggml : add support for the RISCV architecture (#1616)
This commit is contained in:
parent
0df7d63e5b
commit
a6704643b6
1 changed files with 2 additions and 0 deletions
2
ggml.c
2
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__
|
||||
|
||||
|
|
Loading…
Reference in a new issue