Skip to content

Use UMF Proxy pool manager with UMF CUDA memory provider in UR #2659

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

Conversation

ldorau
Copy link
Contributor

@ldorau ldorau commented Feb 4, 2025

Use UMF Proxy pool manager with UMF CUDA memory provider in UR.

UMF Proxy pool manager is just a wrapper for the UMF memory provider
(CUDA memory provider in this case) plus it adds also tracking of memory
allocations.

llvm build: intel/llvm#17015

Requires:

@ldorau ldorau changed the title Use umf proxy pool manager with umf cuda memory provider in ur Use UMF Proxy pool manager with UMF CUDA memory provider in UR Feb 4, 2025
@github-actions github-actions bot added common Changes or additions to common utilities cuda CUDA adapter specific issues labels Feb 4, 2025
@ldorau ldorau force-pushed the Use_UMF_Proxy_pool_manager_with_UMF_CUDA_memory_provider_in_UR branch from d202b5c to 84eba18 Compare February 4, 2025 14:29
@ldorau ldorau force-pushed the Use_UMF_Proxy_pool_manager_with_UMF_CUDA_memory_provider_in_UR branch from 84eba18 to 5538916 Compare February 5, 2025 08:35
@github-actions github-actions bot added ci/cd Continuous integration/devliery conformance Conformance test suite issues. labels Feb 5, 2025
@ldorau ldorau force-pushed the Use_UMF_Proxy_pool_manager_with_UMF_CUDA_memory_provider_in_UR branch 16 times, most recently from ea11b3b to 5e6797b Compare February 12, 2025 09:29
@ldorau ldorau force-pushed the Use_UMF_Proxy_pool_manager_with_UMF_CUDA_memory_provider_in_UR branch 5 times, most recently from 0057c3a to da6f5a7 Compare February 13, 2025 13:28
@ldorau
Copy link
Contributor Author

ldorau commented Feb 13, 2025

llvm build: intel/llvm#17015

UMF Proxy pool manager is just a wrapper for the UMF memory provider
(CUDA memory provider in this case) plus it adds also tracking of memory
allocations.

Signed-off-by: Lukasz Dorau <[email protected]>
@ldorau ldorau force-pushed the Use_UMF_Proxy_pool_manager_with_UMF_CUDA_memory_provider_in_UR branch from dee5c21 to 40af3bc Compare February 14, 2025 10:21
@ldorau ldorau marked this pull request as ready for review February 14, 2025 10:25
@ldorau ldorau requested review from a team as code owners February 14, 2025 10:25
@ldorau ldorau requested a review from omarahmed1111 February 14, 2025 10:25
@ldorau ldorau requested a review from igchor February 14, 2025 12:56
@ldorau
Copy link
Contributor Author

ldorau commented Feb 17, 2025

@igchor Please re-review and resolve your issues.

@ldorau
Copy link
Contributor Author

ldorau commented Feb 17, 2025

@frasercrmck @npmiller please review

@@ -301,10 +324,9 @@ inline ur_result_t umf2urResult(umf_result_t umfResult) {
};
}

inline umf_result_t createMemoryProvider(
inline umf_result_t setCUMemoryProviderParams(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be in source/adapters/cuda/common.hpp

Copy link
Contributor Author

@ldorau ldorau Feb 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in intel/llvm#17015.
@igchor Done

@ldorau
Copy link
Contributor Author

ldorau commented Feb 19, 2025

PR moved to intel/llvm#17015

@kbenzie
Copy link
Contributor

kbenzie commented Feb 19, 2025

PR moved to intel/llvm#17015

Can this be closed now?

@ldorau
Copy link
Contributor Author

ldorau commented Feb 19, 2025

Moved to intel/llvm#17015

@ldorau ldorau closed this Feb 19, 2025
@ldorau
Copy link
Contributor Author

ldorau commented Feb 19, 2025

PR moved to intel/llvm#17015

Can this be closed now?

Closed

kbenzie pushed a commit to intel/llvm that referenced this pull request Feb 21, 2025
… in UR (#17015)

Use UMF Proxy pool manager with UMF CUDA memory provider in UR.

UMF Proxy pool manager is just a wrapper for the UMF memory provider
(CUDA memory provider in this case) plus it adds also tracking of memory
allocations.

Moved from: oneapi-src/unified-runtime#2659

Signed-off-by: Lukasz Dorau <[email protected]>
kbenzie pushed a commit to kbenzie/unified-runtime that referenced this pull request Feb 21, 2025
Use UMF Proxy pool manager with UMF CUDA memory provider in UR.

UMF Proxy pool manager is just a wrapper for the UMF memory provider
(CUDA memory provider in this case) plus it adds also tracking of memory
allocations.

Moved from: oneapi-src#2659

Signed-off-by: Lukasz Dorau <[email protected]>
kurapov-peter pushed a commit to kurapov-peter/llvm that referenced this pull request Mar 5, 2025
… in UR (intel#17015)

Use UMF Proxy pool manager with UMF CUDA memory provider in UR.

UMF Proxy pool manager is just a wrapper for the UMF memory provider
(CUDA memory provider in this case) plus it adds also tracking of memory
allocations.

Moved from: oneapi-src/unified-runtime#2659

Signed-off-by: Lukasz Dorau <[email protected]>
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 conformance Conformance test suite issues. cuda CUDA adapter specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants