-
Notifications
You must be signed in to change notification settings - Fork 378
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
Force the alignment of SoA and AoS Particles #4375
Force the alignment of SoA and AoS Particles #4375
Conversation
@WeiqunZhang I see still the same error with this patch in BLAST-ImpactX/impactx-wheels#3 |
Oh, I think I tested the first version. Will restart with the latest changes now. |
Ok, improvement. Now only the legacy data type (AoS + SoA) has the same alignment issue, too, e.g., for
|
Oh wait, that was patched here as well. So does not work just yet it seems. |
c92653a
to
0d3c5ba
Compare
Added a CI runner that shows the issue (and fixed a few more musl issues in #4385 on the way). Status is still:
If you have more ideas, you can push them here and see if the AlpineLinux runner passes. |
0732f06
to
ae329ec
Compare
There might be a compiler bug that does not treat multiple alignas statements correctly. It is supposed to use the strictest one, but it might be using the last one. If I only use one, the Particle CI tests pass. |
This fixes build issues on 32-bit Linux. This should not affect 64 bits machines.
ae329ec
to
7e14c64
Compare
7e14c64
to
8a05f84
Compare
This fixes build issues on 32-bit Linux. This should not affect 64 bits machines.
Fix #4371