Skip to content

Commit e01f6a1

Browse files
authored
add call logging for CL_DEVICE_MAX_NAMED_BARRIER_COUNT_KHR (#361)
1 parent 7b919c6 commit e01f6a1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

intercept/src/cli_ext.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -922,6 +922,11 @@ cl_int CL_API_CALL clReleaseSemaphoreKHR(
922922
#define CL_DEVICE_SPIR_VERSIONS 0x40E0
923923
#define CL_PROGRAM_BINARY_TYPE_INTERMEDIATE 0x40E1
924924

925+
///////////////////////////////////////////////////////////////////////////////
926+
// cl_khr_subgroup_named_barrier
927+
928+
#define CL_DEVICE_MAX_NAMED_BARRIER_COUNT_KHR 0x2035
929+
925930
///////////////////////////////////////////////////////////////////////////////
926931
// cl_khr_subgroups
927932

intercept/src/enummap.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,9 @@ CEnumNameMap::CEnumNameMap()
865865
ADD_ENUM_NAME( m_cl_int, CL_DEVICE_SPIR_VERSIONS );
866866
ADD_ENUM_NAME( m_cl_int, CL_PROGRAM_BINARY_TYPE_INTERMEDIATE );
867867

868+
// cl_khr_subgroup_named_barrier
869+
ADD_ENUM_NAME( m_cl_int, CL_DEVICE_MAX_NAMED_BARRIER_COUNT_KHR );
870+
868871
// cl_khr_subgroups
869872
// These enums were promoted to core in OpenCL 2.1.
870873
//CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE_KHR 0x2033

0 commit comments

Comments
 (0)