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

Add a basic pool manager for memory pools #630

Merged
merged 3 commits into from
Oct 4, 2023

Conversation

kswiecicki
Copy link
Contributor

No description provided.

source/common/ur_pool_manager.hpp Outdated Show resolved Hide resolved
source/common/ur_pool_manager.hpp Outdated Show resolved Hide resolved
@kswiecicki kswiecicki force-pushed the usm-pool-manager branch 3 times, most recently from efb19f0 to 069b268 Compare June 29, 2023 10:34
source/common/ur_pool_manager.hpp Outdated Show resolved Hide resolved
source/common/ur_pool_manager.hpp Outdated Show resolved Hide resolved
@kswiecicki kswiecicki force-pushed the usm-pool-manager branch 2 times, most recently from 0e0c27f to 63f2920 Compare July 6, 2023 07:55
@kswiecicki kswiecicki force-pushed the usm-pool-manager branch 2 times, most recently from a81b63b to 0a6ee94 Compare September 6, 2023 13:23
source/common/ur_pool_manager.hpp Outdated Show resolved Hide resolved
test/usm/pool.hpp Outdated Show resolved Hide resolved
@pbalcer
Copy link
Contributor

pbalcer commented Sep 7, 2023

Ref: #517

@kswiecicki kswiecicki force-pushed the usm-pool-manager branch 2 times, most recently from a3b7f9b to c96ffd4 Compare September 12, 2023 11:19
@kswiecicki kswiecicki marked this pull request as ready for review September 20, 2023 14:17
@kswiecicki kswiecicki force-pushed the usm-pool-manager branch 2 times, most recently from 85e1bcd to ce0e47d Compare September 21, 2023 11:00
test/usm/pool.hpp Outdated Show resolved Hide resolved
Currently, only the UR L0 adapter supports urDevicePartition function
and it does not support partition type UR_DEVICE_PARTITION_EQUALLY.

After this change, pool_descriptor::create() returns pool descriptors
for main devices when sub-devices are unavailable instead of returning
error. Also, the device partition type used for retrieving sub-devices
was changed to UR_DEVICE_PARTITION_BY_CSLICE.
@pbalcer pbalcer merged commit 2b7a24a into oneapi-src:main Oct 4, 2023
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants