diff options
author | clyang <clyang@clyang.net> | 2023-07-09 16:12:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-09 11:12:20 +0300 |
commit | 3bbc1a11f04a9adc0d0e08c2940ba4d2978755ab (patch) | |
tree | 49a21e04c55a0087b81499803140b4e3fc4f5632 /ggml.c | |
parent | 2492a53fd0d8372ecc67f49f07b581905175eea8 (diff) |
ggml : fix buidling with Intel MKL but ask for "cblas.h" issue (#2104) (#2115)
* Fix buidling with Intel MKL but ask for "cblas.h" issue
* Use angle brackets to indicate the system library
Diffstat (limited to 'ggml.c')
-rw-r--r-- | ggml.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -247,7 +247,11 @@ inline static void* ggml_aligned_malloc(size_t size) { #include "ggml-opencl.h" #endif #elif defined(GGML_USE_OPENBLAS) +#if defined(GGML_BLAS_USE_MKL) +#include <mkl.h> +#else #include <cblas.h> +#endif #elif defined(GGML_USE_CUBLAS) #include "ggml-cuda.h" #elif defined(GGML_USE_CLBLAST) |