-
Notifications
You must be signed in to change notification settings - Fork 124
Replace PROGRAM_INFO_SOURCE with PROGRAM_INFO_IL. #1196
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
Replace PROGRAM_INFO_SOURCE with PROGRAM_INFO_IL. #1196
Conversation
64dc5d9 to
2621f1d
Compare
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #1196 +/- ##
==========================================
- Coverage 15.44% 15.39% -0.06%
==========================================
Files 239 240 +1
Lines 33961 34125 +164
Branches 3757 3780 +23
==========================================
+ Hits 5246 5254 +8
- Misses 28664 28820 +156
Partials 51 51 ☔ View full report in Codecov by Sentry. |
fabiomestre
left a comment
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
| UR_ASSERT(getKernelNames(hProgram), UR_RESULT_ERROR_UNSUPPORTED_FEATURE); | ||
| return UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION; | ||
| case UR_PROGRAM_INFO_NUM_KERNELS: | ||
| case UR_PROGRAM_INFO_IL: |
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.
I'm wondering, if we wanted to implement this for CUDA, we would have to find way to figure out which binaries are PTX right?
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.
yeah, so it's doable but we should probably wait for a use case to come up before going to the trouble
8398d0e to
ab6a4e3
Compare
ab6a4e3 to
5bf0a91
Compare
5bf0a91 to
d9d819c
Compare
d9d819c to
d251ddc
Compare
Also make returns for this consistent across adapter implementations (i.e. actual IL if that's supported, otherwise return UNSUPPORTED_ENUMERATION). resolves oneapi-src#1138
Also add simple optional query handling to urProgramGetInfo cts test.
8626319 to
18c7d27
Compare
|
@oneapi-src/unified-runtime-native-cpu-write @oneapi-src/unified-runtime-level-zero-write please take a look when you can |
|
ping @oneapi-src/unified-runtime-native-cpu-write @oneapi-src/unified-runtime-level-zero-write |
PietroGhg
left a comment
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
|
ping @oneapi-src/unified-runtime-level-zero-write |
Also make returns for this consistent across adapter implementations (i.e. actual IL if that's supported, otherwise return UNSUPPORTED_ENUMERATION).
resolves #1138
LLVM testing intel/llvm#12265