summaryrefslogtreecommitdiff
path: root/samples/haxpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/haxpy.c')
-rw-r--r--samples/haxpy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/haxpy.c b/samples/haxpy.c
index 8e0833f8..4f2bb400 100644
--- a/samples/haxpy.c
+++ b/samples/haxpy.c
@@ -18,6 +18,8 @@
#include <stdio.h>
#include <string.h>
+#define CL_USE_DEPRECATED_OPENCL_1_2_APIS // to disable deprecation warnings
+
// Includes the CLBlast library (C interface)
#include <clblast_c.h>