From b333b06772c89d96aacb5490d6a219fba7c09cc6 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 12 Feb 2026 20:57:17 +0100 Subject: Engage! --- llama.cpp/ggml/src/ggml-cpu/llamafile/sgemm.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 llama.cpp/ggml/src/ggml-cpu/llamafile/sgemm.h (limited to 'llama.cpp/ggml/src/ggml-cpu/llamafile/sgemm.h') diff --git a/llama.cpp/ggml/src/ggml-cpu/llamafile/sgemm.h b/llama.cpp/ggml/src/ggml-cpu/llamafile/sgemm.h new file mode 100644 index 0000000..867b0c0 --- /dev/null +++ b/llama.cpp/ggml/src/ggml-cpu/llamafile/sgemm.h @@ -0,0 +1,25 @@ +#pragma once +#include +#include + +#if defined(__VXE__) || defined(__VXE2__) +#include +#endif + +#ifdef _MSC_VER +#define NOINLINE __declspec(noinline) +#else +#define NOINLINE __attribute__((__noinline__)) +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +bool llamafile_sgemm(const struct ggml_compute_params * params, int64_t, int64_t, int64_t, + const void *, int64_t, const void *, int64_t, void *, int64_t, + int, int, int); + +#ifdef __cplusplus +} +#endif -- cgit v1.2.3