2025-08-23 5:05 AM
Hopefully i chose the right thread, right so i have sn stm32h523 chip running a PCISPH fluid simulation, but its incredibly slow, that was expected, which is why i optimised the algorithm to include spatial hashing to reduce particle-particle computation time from 0(n^2) to O(n+k) (forgot what k was but its alot faster than the latter).
However, this hasnt fixed my issue at all, if anyone can suggest any optimization methods that would be great
(On reddit i read someone tweaked some compiler settings which im wondering if i should do the same but i dont know how. If theres papers i can read on this i would love some recommendations thanks.