-
Notifications
You must be signed in to change notification settings - Fork 795
[SYCL][Test E2E] Fix errors in determining aspects/sg sizes #9690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
b732232 to
22e27ea
Compare
22e27ea to
eacabe2
Compare
|
I decided that failing to determine sub-group sizes shouldn't fail the lit invocation, since AFAICT it uses a non-standard extension. Our downstream device doesn't support that. It's only to determine the features for a handful of opt-in tests. |
|
Ah right you are, thank you. I must have been going off older docs, or confused by the name It should remain an error, then. |
eacabe2 to
92060d2
Compare
* If sycl-ls failed, the error message referenced an undefined variable * If either the aspects or sub-group sizes were unable to be determined, we were later referencing undefined set variables (`lit_config.error` doesn't exit immediately). * Error messages weren't printing stderr
92060d2 to
208cf07
Compare
I've kept this as a "note", thanks |
| lit_config.note('Aspects for {}: {}'.format(sycl_device, ', '.join(aspects))) | ||
| # We might have several devices matching the same filter in the system. | ||
| # Compute intersection of aspects. | ||
| aspects = set(dev_aspects[0]).intersection(*dev_aspects) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you removing the else:? Won't it result in python exception in dev_aspects[0] in this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No because if dev_aspects is empty, we're already appending an empty set() on line 399.
|
Thanks! |
we were later referencing undefined set variables (
lit_config.errordoesn't exit immediately).
CC @aelovikov-intel