[Bf-blender-cvs] [650fbd0] master: OpenCL wrangler: Add some of the extension defines
Sergey Sharybin
noreply at git.blender.org
Fri May 15 10:23:52 CEST 2015
Commit: 650fbd09f7c3d85719aad89d5a50080a56fc4c49
Author: Sergey Sharybin
Date: Fri May 15 12:05:28 2015 +0500
Branches: master
https://developer.blender.org/rB650fbd09f7c3d85719aad89d5a50080a56fc4c49
OpenCL wrangler: Add some of the extension defines
===================================================================
M extern/clew/include/clew.h
===================================================================
diff --git a/extern/clew/include/clew.h b/extern/clew/include/clew.h
index 328fd52..1b72f81 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
More information about the Bf-blender-cvs
mailing list