From b014104bc4d2c7b05767bf5364b8b972474850d1 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Sun, 21 Feb 2010 00:37:34 +0100 Subject: added custom cl_vendor_ext.h with a set of NV vendor extensions which are not yet in the official headers. updated CLException with CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR cause. --- resources/includes/CL_orig/cl_vendor_ext.h | 9 +++++++++ resources/opencl.h | 1 + 2 files changed, 10 insertions(+) create mode 100644 resources/includes/CL_orig/cl_vendor_ext.h (limited to 'resources') diff --git a/resources/includes/CL_orig/cl_vendor_ext.h b/resources/includes/CL_orig/cl_vendor_ext.h new file mode 100644 index 00000000..c7e6d392 --- /dev/null +++ b/resources/includes/CL_orig/cl_vendor_ext.h @@ -0,0 +1,9 @@ +/* NVIDIA */ +#define CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NV 0x4000 +#define CL_DEVICE_COMPUTE_CAPABILITY_MINOR_NV 0x4001 +#define CL_DEVICE_REGISTERS_PER_BLOCK_NV 0x4002 +#define CL_DEVICE_WARP_SIZE_NV 0x4003 +#define CL_DEVICE_GPU_OVERLAP_NV 0x4004 +#define CL_DEVICE_KERNEL_EXEC_TIMEOUT_NV 0x4005 +#define CL_DEVICE_INTEGRATED_MEMORY_NV 0x4006 + diff --git a/resources/opencl.h b/resources/opencl.h index bbb14e38..4e0cced5 100644 --- a/resources/opencl.h +++ b/resources/opencl.h @@ -8,6 +8,7 @@ #include #include #include +#include //#include #include -- cgit v1.2.3