-
Notifications
You must be signed in to change notification settings - Fork 115
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
[Spec Constants] Improved handling of invalid spec. constants #1469
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1469 +/- ##
==========================================
- Coverage 14.82% 12.42% -2.41%
==========================================
Files 250 241 -9
Lines 36220 36271 +51
Branches 4094 4111 +17
==========================================
- Hits 5369 4506 -863
- Misses 30800 31761 +961
+ Partials 51 4 -47 ☔ View full report in Codecov by Sentry. |
3726312
to
e51fd23
Compare
@jchlanda is our spec constants expert. Jakub, please take over this review |
e51fd23
to
92cb04e
Compare
92cb04e
to
a4019b0
Compare
a4019b0
to
f362901
Compare
92b17d9
to
1a78a53
Compare
…onstants Pre-commit MR for oneapi-src/unified-runtime#1469
b93c1ad
to
7538206
Compare
…onstants Pre-commit MR for oneapi-src/unified-runtime#1469
7538206
to
ba9d474
Compare
…onstants Pre-commit MR for oneapi-src/unified-runtime#1469
ba9d474
to
2116a3f
Compare
…onstants Pre-commit MR for oneapi-src/unified-runtime#1469
2116a3f
to
9fbd4fe
Compare
…onstants Pre-commit MR for oneapi-src/unified-runtime#1469
@RossBrunton Please rebase this when possible, I removed the ready to merge label and please readd it when rebased. |
9fbd4fe
to
f42a221
Compare
…onstants Pre-commit MR for oneapi-src/unified-runtime#1469
331e1f5
to
713770d
Compare
…onstants Pre-commit MR for oneapi-src/unified-runtime#1469
Updated. Sorry for the delay. EDIT: Never mind... EDIT 2: And it's green again and should be ready to merge. |
…onstants Pre-commit MR for oneapi-src/unified-runtime#1469
…ants Two main changes to how `Kernel/ProgramSetSpecializationConstants` are handled: * They may now output either `INVALID_VALUE` or the new `INVALID_SPEC_ID` when the provided list is invalid. * The OpenCL and level 0 adapters now respond to `UR_DEVICE_INFO_KERNEL_SET_SPECIALIZATION_CONSTANTS` with `false` rather than erroring out. This fixes some tests that were incorrectly not being skipped. * `urKernelSetSpecializationConstants` now "implemented" (as a function that returns `UNSUPPORTED_FEATURE` for a number of adapters.
713770d
to
f5979a6
Compare
…onstants Pre-commit MR for oneapi-src/unified-runtime#1469
…onstants (#13204) Pre-commit MR for oneapi-src/unified-runtime#1469 --------- Co-authored-by: Aaron Greig <[email protected]>
Two main changes to how
Kernel/ProgramSetSpecializationConstants
are handled:INVALID_VALUE
or the newINVALID_SPEC_ID
when the provided list is invalid.UR_DEVICE_INFO_KERNEL_SET_SPECIALIZATION_CONSTANTS
withfalse
rather than erroring out. This fixes some tests that were incorrectly not being skipped.urKernelSetSpecializationConstants
now "implemented" (as a function that returnsUNSUPPORTED_FEATURE
for opencl and cuda.