Skip to content

Conversation

@dm-vodopyanov
Copy link
Contributor

According to SYCL 2020,

If a kernel is decorated with this attribute and then submitted to a
device that does not support the work group size, the implementation must throw a synchronous exception with the errc::kernel_not_supported error code.

This patch fixes sycl::errc in such case: it returned errc::nd_range, now it returns errc::kernel_not_supported.

…rk_group_size

According to SYCL 2020,

> If a kernel is decorated with this attribute and then submitted to a
device that does not support the work group size, the implementation
must throw a synchronous exception with the `errc::kernel_not_supported`
error code.

This patch fixes sycl::errc in such case: it returned `errc::nd_range`,
now it returns `errc::kernel_not_supported`.
@dm-vodopyanov dm-vodopyanov requested a review from a team as a code owner June 27, 2023 14:18
@dm-vodopyanov dm-vodopyanov requested a review from bso-intel June 27, 2023 14:18
@dm-vodopyanov dm-vodopyanov temporarily deployed to aws June 27, 2023 14:36 — with GitHub Actions Inactive
@dm-vodopyanov dm-vodopyanov temporarily deployed to aws June 27, 2023 15:27 — with GitHub Actions Inactive
@dm-vodopyanov dm-vodopyanov temporarily deployed to aws June 28, 2023 11:47 — with GitHub Actions Inactive
@dm-vodopyanov dm-vodopyanov temporarily deployed to aws June 28, 2023 12:49 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants