summaryrefslogtreecommitdiff
path: root/samples/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/cache.c')
-rw-r--r--samples/cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/cache.c b/samples/cache.c
index 980c7cf3..2a48c321 100644
--- a/samples/cache.c
+++ b/samples/cache.c
@@ -20,6 +20,7 @@
#include <string.h>
#include <time.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)