summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjojorne <jojorne@users.noreply.github.com>2024-06-18 09:18:32 -0300
committerGitHub <noreply@github.com>2024-06-18 22:18:32 +1000
commit84f6de17f6a8602e7ff7f7c7bda36a73f510a2dd (patch)
tree5f75a0deda89a59e7407c84118bb058f5cfad58b
parent61665277afde2add00c0d387acb94ed5feb95917 (diff)
Fix no gcc pragma on Windows (#7751)
-rw-r--r--sgemm.cpp2
1 files changed, 2 insertions, 0 deletions
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"