-
Notifications
You must be signed in to change notification settings - Fork 124
Improvements to align CTS and Spec for Context #2112
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
Improvements to align CTS and Spec for Context #2112
Conversation
|
Hi @martygrant , |
b3cf34b to
2ae73ff
Compare
|
hey @MartinWehking yeah that is mostly correct. So Apologies the PR description is probably less obvious for someone not on the UR team, I should maybe rewrite it! |
|
@martygrant |
166b0a1 to
652993e
Compare
1174159 to
cc698e7
Compare
cc698e7 to
a580eaa
Compare
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.
Native CPU LGTM, thank you
|
@oneapi-src/unified-runtime-level-zero-write looking for a review on this PR please |
a580eaa to
f3889a4
Compare
|
@oneapi-src/unified-runtime-level-zero-write looking for a review on this PR please |
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.
lgtm, just a question on the match file changes.
- Add test for urContextCreate returning UR_RESULT_ERROR_INVALID_ENUMERATION - Added testing in urContextGetInfo for the atomic memory enums, checking against the type mask or UR_RESULT_ERROR_UNSUPPORTED_ENUM (as some adapters don't support this currently)
…ndle from L0 match file
0ad7ea4 to
2a08189
Compare
For oneapi-src/unified-runtime#2112 --------- Co-authored-by: Callum Fare <[email protected]>
intel/llvm#15506
For
urContextGetInfosome adapters were returningUR_RESULT_ERROR_INVALID_ENUMERATIONwhen they did not support the enumeration yet, instead ofUR_RESULT_ERROR_UNSUPPORTED_ENUMERATION. I've updated this, and modified the CTS test for it to pass when the unsupported enum is received.Added another CTS test for
urContextCreateto test for theUR_RESULT_ERROR_INVALID_ENUMERATIONreturn scenario.