Solved
Forum Discussion
MEIYAN_L_Intel
Frequent Contributor
6 years agoHi,
Yes, you have to define CL_TARGET_OPENCL_VERSION 200 in order to used OpenCL 2.0 features.
Thanks
It looks like I have to do
#define CL_TARGET_OPENCL_VERSION 200
#include <CL/opencl.h>
in my host code, per Appendix 3 in the OpenCL programmers guide. It now compiles.
Hi,
Yes, you have to define CL_TARGET_OPENCL_VERSION 200 in order to used OpenCL 2.0 features.
Thanks