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