From 42fc9c93d7e31f0b1cd6c30d35a6703c764ac9ec Mon Sep 17 00:00:00 2001 From: jojorne Date: Tue, 18 Jun 2024 09:18:32 -0300 Subject: [PATCH] Fix no gcc pragma on Windows (#7751) --- sgemm.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sgemm.cpp b/sgemm.cpp index 40ba9d7e..bbe263dd 100644 --- a/sgemm.cpp +++ b/sgemm.cpp @@ -43,8 +43,10 @@ // [1] J. Tunney, ‘LLaMA Now Goes Faster on CPUs’, Mar. 2024. [Online]. // Available: https://justine.lol/matmul/. [Accessed: 29-Mar-2024]. +#if defined(__GNUC__) #pragma GCC diagnostic ignored "-Wpedantic" #pragma GCC diagnostic ignored "-Wignored-attributes" +#endif #include "sgemm.h" #include "ggml-impl.h"