Skip to content

Commit

Permalink
add call logging for CL_DEVICE_MAX_NAMED_BARRIER_COUNT_KHR (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbaug authored May 29, 2024
1 parent 7b919c6 commit e01f6a1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions intercept/src/cli_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions intercept/src/enummap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e01f6a1

Please sign in to comment.