-
Notifications
You must be signed in to change notification settings - Fork 116
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
[urinfo] Fix printing of device UUID #1243
Merged
kbenzie
merged 2 commits into
oneapi-src:main
from
kbenzie:benie/fix-urinfo-device-uuid-printing
Apr 22, 2024
Merged
[urinfo] Fix printing of device UUID #1243
kbenzie
merged 2 commits into
oneapi-src:main
from
kbenzie:benie/fix-urinfo-device-uuid-printing
Apr 22, 2024
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
aarongreig
approved these changes
Jan 11, 2024
al42and
approved these changes
Jan 22, 2024
kbenzie
force-pushed
the
benie/fix-urinfo-device-uuid-printing
branch
from
January 23, 2024 15:52
744f2cf
to
dc97b7b
Compare
kbenzie
force-pushed
the
benie/fix-urinfo-device-uuid-printing
branch
from
January 23, 2024 15:58
dc97b7b
to
b8c4e60
Compare
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1243 +/- ##
==========================================
- Coverage 15.39% 15.38% -0.01%
==========================================
Files 240 240
Lines 34101 34116 +15
Branches 3776 3780 +4
==========================================
- Hits 5251 5250 -1
- Misses 28799 28815 +16
Partials 51 51 ☔ View full report in Codecov by Sentry. |
fabiomestre
approved these changes
Jan 30, 2024
kbenzie
force-pushed
the
benie/fix-urinfo-device-uuid-printing
branch
from
February 1, 2024 14:05
b8c4e60
to
f2c8da7
Compare
kbenzie
force-pushed
the
benie/fix-urinfo-device-uuid-printing
branch
from
February 29, 2024 13:52
f2c8da7
to
bba3971
Compare
kbenzie
force-pushed
the
benie/fix-urinfo-device-uuid-printing
branch
from
February 29, 2024 14:44
bba3971
to
a13a455
Compare
kbenzie
added a commit
to kbenzie/llvm
that referenced
this pull request
Mar 4, 2024
kbenzie
force-pushed
the
benie/fix-urinfo-device-uuid-printing
branch
from
March 13, 2024 13:33
a13a455
to
0e2b601
Compare
kbenzie
added
specification
Changes or additions to the specification
opencl
OpenCL adapter specific issues
labels
Apr 3, 2024
kbenzie
force-pushed
the
benie/fix-urinfo-device-uuid-printing
branch
from
April 3, 2024 14:07
0e2b601
to
dc2bf5f
Compare
* Change the type returned by the `UR_DEVICE_INFO_UUID` query to `uint8_t` to match the type returned from Level Zero, CUDA, & HIP. * Modify template to emit call to `printDeviceUUID()` instead of generic info printer to special case output formatting. * Add `printDeviceUUID()` to print the device UUID in a human friendly format.
Check if the OpenCL device supports the `cl_khr_device_uuid` extension. If it is supported, use it to implement the `UR_DEVICE_INFO_UUID` query. Otherwise, continue to return `UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION`.
kbenzie
force-pushed
the
benie/fix-urinfo-device-uuid-printing
branch
from
April 22, 2024 11:33
dc2bf5f
to
6a60213
Compare
steffenlarsen
pushed a commit
to intel/llvm
that referenced
this pull request
Apr 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
UR_DEVICE_INFO_UUID
query touint8_t
to match the type returned from Level Zero, CUDA, & HIP.printDeviceUUID()
instead of generic info printer to special case output formatting.printDeviceUUID()
to print the device UUID in a human friendly format.