We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f38f400 commit 38a8d79Copy full SHA for 38a8d79
sycl/include/sycl/handler.hpp
@@ -3584,9 +3584,9 @@ class __SYCL_EXPORT handler {
3584
if (Kind == detail::kernel_param_kind_t::kind_work_group_memory)
3585
throw sycl::exception(
3586
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.");
+ "A work group memory object must not be used in a SYCL kernel "
+ "function that is invoked via single_task or via the simple form "
+ "of parallel_for that takes a range parameter.");
3590
}
3591
3592
0 commit comments