Skip to content

Add abstraction on top of ba_alloc which supports arbitrary size allocations #203

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

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

igchor
Copy link
Member

@igchor igchor commented Feb 2, 2024

The umf_ba_global_free requires size but this should not be a problem - I believe we know size of each allocation in our codebase currently.

@igchor igchor requested a review from a team as a code owner February 2, 2024 21:01
@igchor igchor force-pushed the ba_alloc_classes branch 8 times, most recently from 84a3f0f to aef3a21 Compare February 6, 2024 20:44
@igchor igchor requested review from ldorau and bratpiorka February 6, 2024 20:45
@bratpiorka
Copy link
Contributor

@ldorau please review

@igchor igchor force-pushed the ba_alloc_classes branch 2 times, most recently from 885eb81 to 1af2165 Compare February 13, 2024 15:40
@ldorau
Copy link
Contributor

ldorau commented Feb 15, 2024

@igchor rebase please

@igchor
Copy link
Member Author

igchor commented Feb 15, 2024

@igchor rebase please

Done.

@ldorau
Copy link
Contributor

ldorau commented Feb 16, 2024

@igchor Windows CI tests fail now ... :-(

which supports arbitrary size allocations and routes
the alloc requests to specific allocation classes
or to ba_alloc_os.

Use this abstraction instead of a single global pool
of fixed size.
@igchor
Copy link
Member Author

igchor commented Feb 16, 2024

@igchor Windows CI tests fail now ... :-(

Done. It was just rebase conflict.

@ldorau ldorau merged commit 5de8d28 into oneapi-src:main Feb 19, 2024
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