-
Notifications
You must be signed in to change notification settings - Fork 770
[UR] Improvements to align CTS and Spec for Device #16746
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
[UR] Improvements to align CTS and Spec for Device #16746
Conversation
d914426
to
73d6fd0
Compare
73d6fd0
to
09eac51
Compare
09eac51
to
09ddfe9
Compare
09ddfe9
to
2c8710b
Compare
2c8710b
to
3b88cac
Compare
3b88cac
to
fcdb51b
Compare
fcdb51b
to
c5c7e20
Compare
c5c7e20
to
ff4f7dc
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.
Bindless images LGTM
ff4f7dc
to
2acaec2
Compare
The failing cuda e2e job is a flaky test being tracked here #17026 |
- Rework urDeviceGetInfoTest to move all enums to their own tests instead of a switch case - oneapi-src/unified-runtime#2290 - Remove the UR/OpenCL Device enum map function - no point maintaining both a switch case and a separate mapping function - Update some spec wording for consistency - Add missing Device info enums to OpenCL adapater - Add new urDevicePartition test for checking UR_DEVICE_INFO_PARENT_DEVICE - Move UUR_RETURN_ON_FATAL_FAILURE and UUR_ASSERT_SUCCESS_OR_UNSUPPORTED to join similar macros in checks.h - Update spec to say info queries that return char[] are null-terminated - Add missing unsupported device enums to HIP adapter - Reverted bindless image types back to size_t - Moved ComponentDevices test to a separate PlatformTest derived fixture - Added new ASSERT_QUERY_RETURNS_VALUE macro as a helper to validate simple numerical GetInfo queries - Added new stringPropertyIsValid helper function to validate string queries
2acaec2
to
c518154
Compare
@intel/dpcpp-nativecpu-reviewers @intel/llvm-reviewers-cuda need reviews for this PR please, it was previously approved pre-UR migration here oneapi-src/unified-runtime#2597 |
Migrated from oneapi-src/unified-runtime#2597 - Rework urDeviceGetInfoTest to move all enums to their own tests instead of a switch case - oneapi-src/unified-runtime#2290 - Remove the UR/OpenCL Device enum map function - no point maintaining both a switch case and a separate mapping function - Update some spec wording for consistency - Add missing Device info enums to OpenCL adapater - Add new urDevicePartition test for checking UR_DEVICE_INFO_PARENT_DEVICE - Move UUR_RETURN_ON_FATAL_FAILURE and UUR_ASSERT_SUCCESS_OR_UNSUPPORTED to join similar macros in checks.h - Update spec to say info queries that return char[] are null-terminated - Add missing unsupported device enums to HIP adapter - Reverted bindless image types back to size_t - Moved ComponentDevices test to a separate PlatformTest derived fixture - Added new ASSERT_QUERY_RETURNS_VALUE macro as a helper to validate simple numerical GetInfo queries - Added new stringPropertyIsValid helper function to validate string queries - Add missing unsupported device enums to HIP adapter
Migrated from oneapi-src/unified-runtime#2597