]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Fix no gcc pragma on Windows (#7751)
authorjojorne <redacted>
Tue, 18 Jun 2024 12:18:32 +0000 (09:18 -0300)
committerGitHub <redacted>
Tue, 18 Jun 2024 12:18:32 +0000 (22:18 +1000)
sgemm.cpp

index 40ba9d7e9a7b728ac92e4ce49c9e8cfad6bbd45e..bbe263ddd2bb4070f2b311c178ca861d2d44d22d 100644 (file)
--- a/sgemm.cpp
+++ b/sgemm.cpp
 // [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"