diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-05-15 10:05:28 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-05-15 11:22:47 +0300 |
commit | 650fbd09f7c3d85719aad89d5a50080a56fc4c49 (patch) | |
tree | c01e8ba9c2c8cd0fb8698b136b8c706428699aaf | |
parent | 03f9d5a4cf65ddd517b1d6a41528cff69b22cf81 (diff) |
OpenCL wrangler: Add some of the extension defines
-rw-r--r-- | extern/clew/include/clew.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/extern/clew/include/clew.h b/extern/clew/include/clew.h index 328fd52857a..1b72f813c9f 100644 --- a/extern/clew/include/clew.h +++ b/extern/clew/include/clew.h @@ -2751,6 +2751,30 @@ CLEW_FUN_EXPORT PFNCLGETGLCONTEXTINFOKHR __clewGetGLContextInfoKH #endif #define clGetGLContextInfoKHR CLEW_GET_FUN(__clewGetGLContextInfoKHR ) +/* cl_ext */ + +/****************************************** + * cl_nv_device_attribute_query extension * + ******************************************/ +/* cl_nv_device_attribute_query extension - no extension #define since it has no functions */ +#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 + +/********************************* + * cl_amd_device_attribute_query * + *********************************/ +#define CL_DEVICE_PROFILING_TIMER_OFFSET_AMD 0x4036 + +/********************************* + * cl_arm_printf extension + *********************************/ +#define CL_PRINTF_CALLBACK_ARM 0x40B0 +#define CL_PRINTF_BUFFERSIZE_ARM 0x40B1 #define CLEW_SUCCESS 0 //!< Success error code #define CLEW_ERROR_OPEN_FAILED -1 //!< Error code for failing to open the dynamic library |