summaryrefslogtreecommitdiff
path: root/samples/sasum.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/sasum.c')
-rw-r--r--samples/sasum.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/sasum.c b/samples/sasum.c
index 78377336..36efef4c 100644
--- a/samples/sasum.c
+++ b/samples/sasum.c
@@ -19,6 +19,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)