Skip to content

[UR][CUDA] Cleanup UMF pools creation code #18361

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
May 12, 2025
Merged

Conversation

npmiller
Copy link
Contributor

@npmiller npmiller commented May 8, 2025

This code was roughly duplicated between the context and the platform, and could also be cleaned up and refactored to be clearer and not require as many helper functions and macros.

It is going to create more "MemoryProviderParams" during platform initialization. But that cost of that is likely pretty small and not on the hot path, so it seems like a fair tradeoff for cleaner code.

@npmiller npmiller requested a review from a team as a code owner May 8, 2025 11:50
@npmiller npmiller requested a review from ldrumm May 8, 2025 11:50
@npmiller npmiller temporarily deployed to WindowsCILock May 8, 2025 11:50 — with GitHub Actions Inactive
@npmiller npmiller temporarily deployed to WindowsCILock May 8, 2025 12:21 — with GitHub Actions Inactive
@npmiller npmiller temporarily deployed to WindowsCILock May 8, 2025 12:21 — with GitHub Actions Inactive
This code was roughly duplicated between the context and the platform,
and could also be cleaned up and refactored to be clearer and not
require as many helper functions and macros.

It is going to create more "MemoryProviderParams" during platform
initialization. But that cost of that is likely pretty small and not on
the hot path, so it seems like a fair tradeoff for cleaner code.
@npmiller
Copy link
Contributor Author

@intel/llvm-gatekeepers this is ready to merge, failures are unrelated (on Arc, this patch only touches CUDA), and tracked here: #18416

@sarnex sarnex merged commit 6f9292e into intel:sycl May 12, 2025
43 of 46 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants