Skip to content

Commit 646c65c

Browse files
committed
Updated formatting
Signed-off-by: Stuart Adams <[email protected]>
1 parent 3044baf commit 646c65c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sycl/source/detail/scheduler/commands.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,9 +1417,9 @@ static void adjustNDRangePerKernel(NDRDescT &NDR, RT::PiKernel Kernel,
14171417

14181418
if (WGSize[0] == 0) {
14191419
// kernel does not request specific workgroup shape - set one
1420-
id<3> MaxWGSizes = get_device_info<
1421-
id<3>, cl::sycl::info::device::max_work_item_sizes>::
1422-
get(DeviceImpl.getHandleRef(), DeviceImpl.getPlugin());
1420+
id<3> MaxWGSizes =
1421+
get_device_info<id<3>, cl::sycl::info::device::max_work_item_sizes>::
1422+
get(DeviceImpl.getHandleRef(), DeviceImpl.getPlugin());
14231423

14241424
size_t WGSize1D = get_kernel_work_group_info<
14251425
size_t, cl::sycl::info::kernel_work_group::work_group_size>::
@@ -1429,7 +1429,7 @@ static void adjustNDRangePerKernel(NDRDescT &NDR, RT::PiKernel Kernel,
14291429

14301430
// Set default work-group size in the Z-direction to either the max
14311431
// number of work-items or the maximum work-group size in the Z-direction.
1432-
WGSize = { 1, 1, min(WGSize1D, MaxWGSizes[2]) };
1432+
WGSize = {1, 1, min(WGSize1D, MaxWGSizes[2])};
14331433
}
14341434
NDR.set(NDR.Dims, nd_range<3>(NDR.NumWorkGroups * WGSize, WGSize));
14351435
}

0 commit comments

Comments
 (0)