-
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
[L0] Manage UMF pools through usm::pool_manager #2495
base: main
Are you sure you want to change the base?
Conversation
8b14272
to
223fd4e
Compare
b00072c
to
2a62983
Compare
281e3e4
to
30d5386
Compare
source/common/ur_pool_manager.hpp
Outdated
@@ -289,6 +289,12 @@ template <typename D> struct pool_manager { | |||
|
|||
return it->second.get(); | |||
} | |||
|
|||
bool hasPool(umf_memory_pool_handle_t hPool) noexcept { |
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.
One UR pulls down this commit oneapi-src/unified-memory-framework@86d2341 hasPool
won't be necessary - you will be able to just use umfPoolByPtr
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've decided not to include the umfPool[Set/Get]Tag
changes in this PR. After trying to implement it I've encountered some complications in ur_result_t ur_validation_layer::bounds(ur_queue_handle_t, const void*, size_t, size_t)
from ur_validation_layer.cpp
.
30d5386
to
cdbec07
Compare
44fcaa0
to
51fec4f
Compare
8a2b671
to
38752a1
Compare
b7a42f9
to
9bc686d
Compare
8023b0a
to
5ee6a87
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.
5ee6a87
to
5022823
Compare
No description provided.