Hello,
I'm trying to use SSE to speed up neighbor finding for a particle fluid simulation. My main issue, however, is storing the neighbors of each particle in memory such that I can quickly load all candidate spacial neighbors into xmm registers to begin distance testing to see if the neighbors are within the cutoff radius.
I've tried Z-order morton sorting, but that doesn't always ensure that the spacial neighbors of a particle are stored contiguously in memory. Anyone have any ideas? Thanks
SIMD neighbor search for particles?
I've never used it personnaly but a friend told me about the "placement new" technique that he uses to allocate chunks of data continuously in memory. See if this can help: http://www.parashift....html#faq-11.10
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement