Skip to content

Commit 3a4e797

Browse files
authored
[SYCL] Add default value for template parameter of max_work_item_sizes (#7388)
Added a default template argument to info::device::max_work_item_sizes to align with the SYCL specification.
1 parent 43d6af7 commit 3a4e797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/include/sycl/info/info_desc.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ namespace device {
9898
#include <sycl/info/device_traits_deprecated.def>
9999
#undef __SYCL_PARAM_TRAITS_DEPRECATED
100100

101-
template <int Dimensions> struct max_work_item_sizes;
101+
template <int Dimensions = 3> struct max_work_item_sizes;
102102
#define __SYCL_PARAM_TRAITS_TEMPLATE_SPEC(DescType, Desc, ReturnT, PiCode) \
103103
template <> struct Desc { \
104104
using return_type = ReturnT; \

0 commit comments

Comments
 (0)