Skip to content
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

Fixed StaticVectorPointerTest on neon64 #48

Merged
merged 2 commits into from
Dec 7, 2024

Conversation

mkatliar
Copy link
Owner

@mkatliar mkatliar commented Nov 6, 2024

The tests were failing with "Pointer is not aligned" assertion error. This is because the StaticVector class from Blaze was used, which does not allocate aligned memory for vectors on neon64. This got fixed by introducing the blast::StaticVector class which allocates a properly aligned memory chunk for its data.

@mkatliar mkatliar requested a review from roversch November 6, 2024 07:22
Copy link
Collaborator

@roversch roversch left a comment

Choose a reason for hiding this comment

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

Looks good!

/**
* @brief Row view of a matrix
*
* NOTE: this implementation is not optimized!
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please tell us what can be improved still.

Copy link
Owner Author

Choose a reason for hiding this comment

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

Done in 560a57e

@mkatliar mkatliar force-pushed the neon64_static_vector_pointer_test_fix branch from a2e52ca to 86b1607 Compare December 7, 2024 12:08
@mkatliar mkatliar merged commit 5886fd3 into master Dec 7, 2024
2 checks passed
@mkatliar mkatliar deleted the neon64_static_vector_pointer_test_fix branch December 7, 2024 12:52
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.

2 participants