-
Notifications
You must be signed in to change notification settings - Fork 768
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][L0] Manage UMF pools through usm::pool_manager #17065
Conversation
@igchor please review. |
39c4bd2
to
9f1f7e0
Compare
9f1f7e0
to
0791048
Compare
0791048
to
b7a4dc4
Compare
@igchor, I've had an issue with obtaining the pool config from |
@kswiecicki Hm, that's strange. Were all UR tests passing? I've had some problems with this test and v2 adapter but it's because it expects certain logs, and UMF wasn't outputting them (this will be fixed once UR switches to using L0 loader API logging) |
b7a4dc4
to
845ae10
Compare
845ae10
to
fd9bc5c
Compare
I think I've fixed the final issue with E2E tests. Because of the change that creates either |
Okay, that makes sense. However, removing the CHECK-COUNT will break this test for L0 v2 adapter, because there we always query page size (it's done by L0 provider). Perhaps we could modify this to be:
|
6ac834b
to
93cce88
Compare
That could be a lot of unaccounted for frees, but I don't see a better solution unless there's |
c96a2a0
to
47f03a3
Compare
47f03a3
to
d6a149a
Compare
d6a149a
to
9fd5c72
Compare
The tests failing on CI are unrelated to this PR and are currently failing on other PRs.
|
9fd5c72
to
c830677
Compare
This variable is not initialized in any way and it is set to nullptr by default.
Level Zero provider internally stores native errors of ur_result_t type.
@intel/llvm-gatekeepers could someone merge this please. |
I don't know why
|
PR to fix the private email check workflow: #17333 |
c830677
to
610cb0e
Compare
When the L0 adapter internal pooling is turned off eg. with SYCL_PI_LEVEL_ZERO_DISABLE_USM_ALLOCATOR=1, the adapter no longer creates an UMF pool that queries for page size during its creation. The allocations made for the query were accounted for in the L0 buffer ownership test, and it's no longer the case. It still affects the v2 L0 adapter.
I've had a problem with the UR script, so I've moved the PR manually. It's weird that those commits seem to be authored from |
@intel/llvm-gatekeepers I believe this PR is ready to be merged, all CI jobs pass now. |
PR moved from: oneapi-src/unified-runtime#2495