Skip to content

Commit 8e76a3c

Browse files
committed
[SYCL] Fix warnings: sub_group is struct not class
Signed-off-by: John Pennycook <[email protected]>
1 parent 8e04e65 commit 8e76a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/include/CL/sycl/detail/type_traits.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ __SYCL_INLINE_NAMESPACE(cl) {
1919
namespace sycl {
2020
template <int Dimensions> class group;
2121
namespace intel {
22-
class sub_group;
22+
struct sub_group;
2323
} // namespace intel
2424
namespace detail {
2525
namespace half_impl {

0 commit comments

Comments
 (0)