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

This commit is contained in:
apcameron 2023-05-27 21:03:25 +01:00 committed by GitHub
parent 0df7d63e5b
commit a6704643b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
ggml.c
View file

@ -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__