Skip to content

Commit 38a8d79

Browse files
committed
Fix typo in exception message
1 parent f38f400 commit 38a8d79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sycl/include/sycl/handler.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3584,9 +3584,9 @@ class __SYCL_EXPORT handler {
35843584
if (Kind == detail::kernel_param_kind_t::kind_work_group_memory)
35853585
throw sycl::exception(
35863586
make_error_code(errc::kernel_argument),
3587-
"A local accessor must not be used in a SYCL kernel function "
3588-
"that is invoked via single_task or via the simple form of "
3589-
"parallel_for that takes a range parameter.");
3587+
"A work group memory object must not be used in a SYCL kernel "
3588+
"function that is invoked via single_task or via the simple form "
3589+
"of parallel_for that takes a range parameter.");
35903590
}
35913591
}
35923592

0 commit comments

Comments
 (0)