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

Pure SoA Particles: ParticleTileData Size Optimization #3570

Open
ax3l opened this issue Sep 28, 2023 · 1 comment
Open

Pure SoA Particles: ParticleTileData Size Optimization #3570

ax3l opened this issue Sep 28, 2023 · 1 comment

Comments

@ax3l
Copy link
Member

ax3l commented Sep 28, 2023

Follow-up marked in #3290 by @AlexanderSinn:

The ParticleTileData struct that is used to access SoA data can be very large, over 300 bytes in some cases. I recommend changing the array-of-pointers to a full 2D array. This way ParticleTileData could be as small as 24 bytes (real pointer, int pointer, stride).

@atmyers what do you think?

@ax3l ax3l changed the title Pure SoA Particles: ParticleTileData as 2D array Pure SoA Particles: ParticleTileData Size Optimization Sep 28, 2023
@ax3l
Copy link
Member Author

ax3l commented Oct 4, 2023

@AlexanderSinn do you like to post a draft PR for this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants