Skip to content
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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kswiecicki
Copy link
Contributor

No description provided.

@github-actions github-actions bot added common Changes or additions to common utilities level-zero L0 adapter specific issues labels Dec 20, 2024
@kswiecicki kswiecicki force-pushed the l0-pool-manager branch 5 times, most recently from b00072c to 2a62983 Compare January 8, 2025 11:46
@github-actions github-actions bot added the ci/cd Continuous integration/devliery label Jan 8, 2025
@kswiecicki kswiecicki force-pushed the l0-pool-manager branch 2 times, most recently from 281e3e4 to 30d5386 Compare January 13, 2025 11:55
@kswiecicki kswiecicki marked this pull request as ready for review January 13, 2025 15:45
@kswiecicki kswiecicki requested review from a team as code owners January 13, 2025 15:45
@@ -289,6 +289,12 @@ template <typename D> struct pool_manager {

return it->second.get();
}

bool hasPool(umf_memory_pool_handle_t hPool) noexcept {
Copy link
Member

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

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd Continuous integration/devliery common Changes or additions to common utilities level-zero L0 adapter specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants