Skip to content

fix alloc / free aligned chunk address calc in disjoint pool #1118

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 2 commits into from
Feb 21, 2025

Conversation

bratpiorka
Copy link
Contributor

@bratpiorka bratpiorka commented Feb 20, 2025

Fix for calculating the chunk address in the Disjoint Pool when allocating memory with a specified alignment.

Note that in the current Disjoint Pool implementation, the origin of the slab isn't aligned,
so the chunks don't need to be aligned either (hence, I use the floor() function).

issues for TODOs:
param for disabling poisoning (for GPU provider): #1119
valgrind: #1120

@bratpiorka bratpiorka marked this pull request as ready for review February 20, 2025 15:29
@bratpiorka bratpiorka requested a review from a team as a code owner February 20, 2025 15:29
@bratpiorka bratpiorka requested a review from lplewa February 20, 2025 15:30
@bratpiorka bratpiorka force-pushed the rrudnick_fix_dp_asan branch 2 times, most recently from 9b5d2eb to 9b84da1 Compare February 20, 2025 16:37
@bratpiorka bratpiorka force-pushed the rrudnick_fix_dp_asan branch 2 times, most recently from cf0936e to 6654dd1 Compare February 21, 2025 07:59
@bratpiorka bratpiorka requested a review from KFilipek February 21, 2025 07:59
ldorau

This comment was marked as outdated.

@bratpiorka bratpiorka merged commit 1129e33 into oneapi-src:main Feb 21, 2025
76 of 79 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.

5 participants