support loading OpenCL functions up to the OpenCL 3.0 standard

This commit is contained in:
Axel Kohlmeyer
2021-04-30 09:28:01 -04:00
parent 00578e1b26
commit 375f8e7054
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
#include <iostream>
#ifndef CL_TARGET_OPENCL_VERSION
#define CL_TARGET_OPENCL_VERSION 210
#define CL_TARGET_OPENCL_VERSION 300
#endif
#ifdef __APPLE__

View File

@ -5,7 +5,7 @@
#include <cassert>
#ifndef CL_TARGET_OPENCL_VERSION
#define CL_TARGET_OPENCL_VERSION 210
#define CL_TARGET_OPENCL_VERSION 300
#endif
#ifdef __APPLE__