summaryrefslogtreecommitdiff
path: root/ggml-opencl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ggml-opencl.cpp')
-rw-r--r--ggml-opencl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ggml-opencl.cpp b/ggml-opencl.cpp
index 1d4db96e..95f4cec6 100644
--- a/ggml-opencl.cpp
+++ b/ggml-opencl.cpp
@@ -15,6 +15,10 @@
#include "ggml.h"
+#if defined(_MSC_VER)
+#pragma warning(disable: 4244 4267) // possible loss of data
+#endif
+
#define CL_DMMV_BLOCK_SIZE 32
#define MULTILINE_QUOTE(...) #__VA_ARGS__