Skip to content

Conversation

@ldorau
Copy link
Contributor

@ldorau ldorau commented Feb 20, 2025

Description

Fix node_list_rm_first() and node_list_rm_with_alignment() in the coarse library.
Add the coarseTest_basic_non_aligned_fixed_memory test.

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly

Fix checking alignment in the following functions of the coarse library:
- node_list_rm_first() and
- node_list_rm_with_alignment()

In order to check the alignment we have to verify an address
of the block (block->data), not a size (block->size) of course ...

Signed-off-by: Lukasz Dorau <[email protected]>
Add a test for not aligned fixed memory buffer:
- coarseTest_basic_non_aligned_fixed_memory

Signed-off-by: Lukasz Dorau <[email protected]>
@ldorau ldorau force-pushed the Fix_node_list_rm_first_and_node_list_rm_with_alignment branch from 55b6b8c to d6c5327 Compare February 21, 2025 07:31
@ldorau ldorau marked this pull request as ready for review February 21, 2025 07:32
@ldorau ldorau requested a review from a team as a code owner February 21, 2025 07:32
@ldorau ldorau merged commit fc1cbed into oneapi-src:main Feb 21, 2025
78 checks passed
@ldorau ldorau deleted the Fix_node_list_rm_first_and_node_list_rm_with_alignment branch February 21, 2025 09:33
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.

3 participants