-
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
[SYCL][UR][CUDA] Access UMF pool handles through usm::pool_manager #957
base: main
Are you sure you want to change the base?
Conversation
Draft for pre-merge testing: intel/llvm#11523 |
73d276f
to
45931d2
Compare
6b9b0f0
to
a44ab49
Compare
a44ab49
to
8518c56
Compare
See my comments in #905 , they also apply here. |
8518c56
to
34d5517
Compare
I've made similar changes to CUDA adapter. |
1a86450
to
4ba968e
Compare
#630 is merged. Please, rebase. |
a3798b6
to
d61e267
Compare
I have updated the target branch of this PR from the |
a63a56a
to
a393b47
Compare
a393b47
to
118eedf
Compare
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #957 +/- ##
=======================================
Coverage 14.83% 14.84%
=======================================
Files 250 250
Lines 36232 36232
Branches 4097 4097
=======================================
+ Hits 5376 5377 +1
+ Misses 30805 30804 -1
Partials 51 51 ☔ View full report in Codecov by Sentry. |
118eedf
to
e0d79f4
Compare
e0d79f4
to
2cc5b83
Compare
b6f0a7f
to
39074a8
Compare
Hey @aarongreig, could you take a look at this PR? |
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.
Minor comment fixes, but looks good overall
source/adapters/cuda/usm.cpp
Outdated
false}; | ||
auto hPoolInternalOpt = hPool->PoolManager.getPool(Desc); | ||
if (!hPoolInternalOpt.has_value()) { | ||
// Internal error, every L0 context and usm pool should have Host, Device, |
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.
// Internal error, every L0 context and usm pool should have Host, Device, | |
// Internal error, every CUDA context and usm pool should have Host, Device, |
Should this say CUDA instead of L0? There's a few other comments below referencing L0 as well.
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.
Fixed.
76b93cf
to
899b53e
Compare
899b53e
to
050d0a0
Compare
4f15997
to
83c8cd4
Compare
83c8cd4
to
34d722a
Compare
This PR contains cherry-picked commits from #630.