Skip to content
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

cl_kernel_sub_group_info values attributed to cl_kernel_info #67

Closed
Kerilk opened this issue Feb 3, 2020 · 1 comment · Fixed by #68
Closed

cl_kernel_sub_group_info values attributed to cl_kernel_info #67

Kerilk opened this issue Feb 3, 2020 · 1 comment · Fixed by #68

Comments

@Kerilk
Copy link
Contributor

Kerilk commented Feb 3, 2020

in the cl.h file:

OpenCL-Headers/CL/cl.h

Lines 695 to 707 in b758718

/* cl_kernel_info */
#define CL_KERNEL_FUNCTION_NAME 0x1190
#define CL_KERNEL_NUM_ARGS 0x1191
#define CL_KERNEL_REFERENCE_COUNT 0x1192
#define CL_KERNEL_CONTEXT 0x1193
#define CL_KERNEL_PROGRAM 0x1194
#ifdef CL_VERSION_1_2
#define CL_KERNEL_ATTRIBUTES 0x1195
#endif
#ifdef CL_VERSION_2_1
#define CL_KERNEL_MAX_NUM_SUB_GROUPS 0x11B9
#define CL_KERNEL_COMPILE_NUM_SUB_GROUPS 0x11BA
#endif

CL_KERNEL_MAX_NUM_SUB_GROUPS
CL_KERNEL_COMPILE_NUM_SUB_GROUPS

are attributed to cl_kernel_info whereas they are cl_kernel_sub_group_info (see clGetKernelSubGroupInfo).

@alycm
Copy link
Contributor

alycm commented Feb 3, 2020

cl.xml has the same issue it appears: https://github.com/KhronosGroup/OpenCL-Docs/blob/master/xml/cl.xml#L4175-L4178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants