Skip to content

[SYCL][E2E] Fix invalid reqd_work_group_size in large-reqd-work-group-size.cpp#22459

Open
wenju-he wants to merge 1 commit into
intel:syclfrom
wenju-he:fix-sycl-test-e2e-large-reqd-work-group-size.cpp
Open

[SYCL][E2E] Fix invalid reqd_work_group_size in large-reqd-work-group-size.cpp#22459
wenju-he wants to merge 1 commit into
intel:syclfrom
wenju-he:fix-sycl-test-e2e-large-reqd-work-group-size.cpp

Conversation

@wenju-he

Copy link
Copy Markdown
Contributor

The test fails after 6794e31 which adds reqd_work_group_size product overflow check to IR verifier. This PR fixes the test.

SYCL 2020 spec (Secion 4.9.1.1, Table 79) defines range::size() as product of its dimensions and return type is size_t. The product of reqd_work_group_size should fit within range::size() return type.

CMPLRLLVM-76460

…-size.cpp

The test fails after 6794e31 which adds reqd_work_group_size product
overflow check to IR verifier. This PR fixes the test.

SYCL 2020 spec (Secion 4.9.1.1, Table 79) defines range::size() as
product of its dimensions and return type is size_t. The product of
reqd_work_group_size should fit within range::size() return type.

CMPLRLLVM-76460
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.

1 participant