diff --git a/intercept/src/cli_ext.h b/intercept/src/cli_ext.h index 1fdbdc40..ad69b512 100644 --- a/intercept/src/cli_ext.h +++ b/intercept/src/cli_ext.h @@ -922,6 +922,11 @@ cl_int CL_API_CALL clReleaseSemaphoreKHR( #define CL_DEVICE_SPIR_VERSIONS 0x40E0 #define CL_PROGRAM_BINARY_TYPE_INTERMEDIATE 0x40E1 +/////////////////////////////////////////////////////////////////////////////// +// cl_khr_subgroup_named_barrier + +#define CL_DEVICE_MAX_NAMED_BARRIER_COUNT_KHR 0x2035 + /////////////////////////////////////////////////////////////////////////////// // cl_khr_subgroups diff --git a/intercept/src/enummap.cpp b/intercept/src/enummap.cpp index c9de08a3..1989c149 100644 --- a/intercept/src/enummap.cpp +++ b/intercept/src/enummap.cpp @@ -865,6 +865,9 @@ CEnumNameMap::CEnumNameMap() ADD_ENUM_NAME( m_cl_int, CL_DEVICE_SPIR_VERSIONS ); ADD_ENUM_NAME( m_cl_int, CL_PROGRAM_BINARY_TYPE_INTERMEDIATE ); + // cl_khr_subgroup_named_barrier + ADD_ENUM_NAME( m_cl_int, CL_DEVICE_MAX_NAMED_BARRIER_COUNT_KHR ); + // cl_khr_subgroups // These enums were promoted to core in OpenCL 2.1. //CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE_KHR 0x2033