summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Petit <kevin.petit@arm.com>2021-02-10 04:53:44 +0000
committerGitHub <noreply@github.com>2021-02-09 20:53:44 -0800
commitc271d3cd13c2dc867589b5d38bf3cb95291ebfba (patch)
tree462230a0dcaa241bd4cd91431bc675d243a847e5
parent6ddf40b51bbca2dbbcd22ea0dc502d5e55f9f4b4 (diff)
downloadOpenCL-Headers-c271d3cd13c2dc867589b5d38bf3cb95291ebfba.tar.gz
OpenCL-Headers-c271d3cd13c2dc867589b5d38bf3cb95291ebfba.tar.bz2
OpenCL-Headers-c271d3cd13c2dc867589b5d38bf3cb95291ebfba.zip
Add definitions for cl_arm_scheduling_controls v0.3.0 (#151)
Change-Id: I90bb9c47bf8aaa8f6499cd8eae33858dda50672f Signed-off-by: Neil Hickey <neil.hickey@arm.com> Signed-off-by: Kevin Petit <kevin.petit@arm.com>
-rw-r--r--CL/cl_ext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/CL/cl_ext.h b/CL/cl_ext.h
index 5fe423f..8d72f89 100644
--- a/CL/cl_ext.h
+++ b/CL/cl_ext.h
@@ -885,6 +885,8 @@ clSetKernelExecInfoARM(cl_kernel kernel,
#define cl_arm_scheduling_controls 1
+typedef cl_bitfield cl_device_scheduling_controls_capabilities_arm;
+
/* cl_device_info */
#define CL_DEVICE_SCHEDULING_CONTROLS_CAPABILITIES_ARM 0x41E4
@@ -892,6 +894,9 @@ clSetKernelExecInfoARM(cl_kernel kernel,
#define CL_DEVICE_SCHEDULING_WORKGROUP_BATCH_SIZE_ARM (1 << 1)
#define CL_DEVICE_SCHEDULING_WORKGROUP_BATCH_SIZE_MODIFIER_ARM (1 << 2)
#define CL_DEVICE_SCHEDULING_DEFERRED_FLUSH_ARM (1 << 3)
+#define CL_DEVICE_SCHEDULING_REGISTER_ALLOCATION_ARM (1 << 4)
+
+#define CL_DEVICE_SUPPORTED_REGISTER_ALLOCATIONS_ARM 0x41EB
/* cl_kernel_info */
#define CL_KERNEL_EXEC_INFO_WORKGROUP_BATCH_SIZE_ARM 0x41E5