Skip to content

Commit aaf766a

Browse files
committed
Small change
Signed-off-by: amochalo <[email protected]>
1 parent 00cc416 commit aaf766a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/error_handling/enqueue_kernel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ bool handleInvalidWorkItemSize(const device_impl &DeviceImpl,
226226
if (NDRDesc.LocalSize[i] > MaxWISize[i])
227227
throw sycl::nd_range_error(
228228
"Number of work-items in a work-group exceed limit for dimension "
229-
"{i}: {NDRDesc.LocalSize[i]} > {MaxWISize[i]}",
229+
"{I}: {NDRDesc.LocalSize[I]} > {MaxWISize[I]}",
230230
PI_INVALID_WORK_ITEM_SIZE);
231231
}
232232
return 0;

0 commit comments

Comments
 (0)