support loading OpenCL functions up to the OpenCL 3.0 standard
This commit is contained in:
@ -29,7 +29,7 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#ifndef CL_TARGET_OPENCL_VERSION
|
#ifndef CL_TARGET_OPENCL_VERSION
|
||||||
#define CL_TARGET_OPENCL_VERSION 210
|
#define CL_TARGET_OPENCL_VERSION 300
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
#ifndef CL_TARGET_OPENCL_VERSION
|
#ifndef CL_TARGET_OPENCL_VERSION
|
||||||
#define CL_TARGET_OPENCL_VERSION 210
|
#define CL_TARGET_OPENCL_VERSION 300
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
|||||||
Reference in New Issue
Block a user