Skip to content

add call logging for CL_DEVICE_MAX_NAMED_BARRIER_COUNT_KHR #361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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