-
Notifications
You must be signed in to change notification settings - Fork 124
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 Device #2597
Open
martygrant
wants to merge
1
commit into
oneapi-src:main
Choose a base branch
from
martygrant:martin/device-cts-spec-gap-redo
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Improvements to align CTS and Spec for Device #2597
martygrant
wants to merge
1
commit into
oneapi-src:main
from
martygrant:martin/device-cts-spec-gap-redo
+3,604
−883
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37c3c32
to
b8a9271
Compare
martygrant
added a commit
to martygrant/llvm
that referenced
this pull request
Jan 23, 2025
2cab273
to
1ce6d4e
Compare
martygrant
added a commit
to martygrant/llvm
that referenced
this pull request
Jan 24, 2025
1ce6d4e
to
56bec8d
Compare
martygrant
added a commit
to martygrant/llvm
that referenced
this pull request
Jan 24, 2025
56bec8d
to
e153d00
Compare
martygrant
added a commit
to martygrant/llvm
that referenced
this pull request
Jan 24, 2025
caa66b2
to
7d961b4
Compare
martygrant
added a commit
to martygrant/llvm
that referenced
this pull request
Jan 27, 2025
7d961b4
to
b12864d
Compare
martygrant
added a commit
to martygrant/llvm
that referenced
this pull request
Jan 27, 2025
14 tasks
aarongreig
reviewed
Jan 29, 2025
b12864d
to
637c7f9
Compare
aarongreig
reviewed
Jan 29, 2025
637c7f9
to
0ff7ae2
Compare
martygrant
added a commit
to martygrant/unified-runtime
that referenced
this pull request
Jan 31, 2025
…of a switch and rework various urXGetInfo tests: - Housekeeping pass to tidy up tests, renaming and adding consts where appropriate - Added ASSERT_INFO_CALL and uur::stringPropertyIsValid helpers from oneapi-src#2597 - Used above helpers across all tests to better validate numerical and char[] queries, and reworked some char[] queries - Removed any non useful checks on vector sizes after passing them into a urXGetInfo query
9475d01
to
d626a1a
Compare
przemektmalon
approved these changes
Feb 3, 2025
aarongreig
reviewed
Feb 3, 2025
d626a1a
to
a9d9aa3
Compare
aarongreig
approved these changes
Feb 3, 2025
martygrant
added a commit
to martygrant/unified-runtime
that referenced
this pull request
Feb 3, 2025
…of a switch and rework various urXGetInfo tests: - Housekeeping pass to tidy up tests, renaming and adding consts where appropriate - Added ASSERT_QUERY_RETURNS_VALUE and uur::stringPropertyIsValid helpers from oneapi-src#2597 - Used above helpers across all tests to better validate numerical and char[] queries, and reworked some char[] queries - Removed any non useful checks on vector sizes after passing them into a urXGetInfo query
a9d9aa3
to
25f9af4
Compare
martygrant
added a commit
to martygrant/llvm
that referenced
this pull request
Feb 3, 2025
@oneapi-src/unified-runtime-cuda-write @oneapi-src/unified-runtime-hip-write @oneapi-src/unified-runtime-level-zero-write @oneapi-src/unified-runtime-native-cpu-write friendly bump for a review please, the adapter changes are very minor |
martygrant
added a commit
to martygrant/unified-runtime
that referenced
this pull request
Feb 5, 2025
…of a switch and rework various urXGetInfo tests: - Housekeeping pass to tidy up tests, renaming and adding consts where appropriate - Added ASSERT_QUERY_RETURNS_VALUE and uur::stringPropertyIsValid helpers from oneapi-src#2597 - Used above helpers across all tests to better validate numerical and char[] queries, and reworked some char[] queries - Removed any non useful checks on vector sizes after passing them into a urXGetInfo query
25f9af4
to
db3ae98
Compare
frasercrmck
approved these changes
Feb 5, 2025
db3ae98
to
2c13096
Compare
- Rework urDeviceGetInfoTest to move all enums to their own tests instead of a switch case - oneapi-src#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
2c13096
to
16d5edc
Compare
martygrant
added a commit
to martygrant/unified-runtime
that referenced
this pull request
Feb 5, 2025
…of a switch and rework various urXGetInfo tests: - Housekeeping pass to tidy up tests, renaming and adding consts where appropriate - Added ASSERT_QUERY_RETURNS_VALUE and uur::stringPropertyIsValid helpers from oneapi-src#2597 - Used above helpers across all tests to better validate numerical and char[] queries, and reworked some char[] queries - Removed any non useful checks on vector sizes after passing them into a urXGetInfo query
LGTM native cpu |
coldav
approved these changes
Feb 5, 2025
pbalcer
approved these changes
Feb 6, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
conformance
Conformance test suite issues.
cuda
CUDA adapter specific issues
experimental
Experimental feature additions/changes/specification
hip
HIP adapter specific issues
images
UR images
level-zero
L0 adapter specific issues
loader
Loader related feature/bug
native-cpu
Native CPU adapter specific issues
opencl
OpenCL adapter specific issues
ready to merge
Added to PR's which are ready to merge
specification
Changes or additions to the specification
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
intel/llvm#16746