You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the OpenCL 2.1 headers, the type definition of cl_kernel_sub_group_info is performed twice:
Line 97 of cl.h
Line 323 of cl_ext.h
This causes a warning when compiling with clang (3.6/3.8):
./ocl/2.1/CL/cl_ext.h:323:18: warning: redefinition of typedef 'cl_kernel_sub_group_info' is a C11 feature
[-Wtypedef-redefinition]
typedef cl_uint cl_kernel_sub_group_info;
^
./ocl/2.1/CL/cl.h:97:29: note: previous definition is here
typedef cl_uint cl_kernel_sub_group_info;
The text was updated successfully, but these errors were encountered:
nunofachada
added a commit
to nunofachada/OpenCL-Headers
that referenced
this issue
Jun 12, 2016
In the OpenCL 2.1 headers, the type definition of cl_kernel_sub_group_info is performed twice:
This causes a warning when compiling with clang (3.6/3.8):
The text was updated successfully, but these errors were encountered: