Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL] Expand coverage of reqd_work_group_size tests #1457

Merged

Conversation

steffenlarsen
Copy link

The reqd_work_group_size tests would previously only test for 3D kernels which were known to be the only dimensionality of the attribute to work as intended. Now that the attribute has been fixed we can extend this testing.

The reqd_work_group_size tests would previously only test for 3D kernels
which were known to be the only dimensionality of the attribute to work
as intended. Now that the attribute has been fixed we can extend this
testing.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen steffenlarsen requested a review from a team as a code owner December 15, 2022 18:06
Q.wait_and_throw();
std::cerr << TestCaseName << " failed: no exception has been thrown\n";
return 1; // We shouldn't be here, exception is expected
} catch (nd_range_error &E) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should eventually be changed, but right now this is the exception we throw for this error case, so the test should be changed when we correct the behavior.

@steffenlarsen
Copy link
Author

Using work-group size 8x8x8 exceeded the max size supported by the GPU backends which caused the L0 backend to return an error during kernel creation. All work sizes have been halved.

@steffenlarsen
Copy link
Author

Failures are in untouched files.
Config/select_device.cpp is disabled in #1483.
SubGroupMask/Basic.cpp failing on Windows has been reported internally.

@steffenlarsen steffenlarsen merged commit bd51c51 into intel:intel Jan 3, 2023
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Mar 22, 2023
The reqd_work_group_size tests would previously only test for 3D kernels
which were known to be the only dimensionality of the attribute to work
as intended. Now that the attribute has been fixed we can extend this
testing.

Signed-off-by: Larsen, Steffen <[email protected]>
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
…-suite#1457)

The reqd_work_group_size tests would previously only test for 3D kernels
which were known to be the only dimensionality of the attribute to work
as intended. Now that the attribute has been fixed we can extend this
testing.

Signed-off-by: Larsen, Steffen <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants