Im changing TPTpp's config.h file as XRES 1224 and YRES 768 and this makes memory leaks and crashes TPT. What should I do? I already made the AirUpdate gpu accelerated and it can withstand much more work. Maybe there are other configurations that I must increase along with resolutions?
Edit: just figured it was not multiplying in the #define. Just puts it as 612 * 2 anywhere it belongs :P so it
Solved it with replacing 612*2 with 1224
AirSolve:
For 1024 and 768 and CELL=2, CPU version takes 30ms and GPU version takes 8 ms (including buffer copies)
Maybe some double-nested for loops in particle_simulator_i can gain performance?
I know your post is 8 years old. But using PhysX is a bad idea because it is a propietary engine for use on Nvidia Graphics cards only. Better off using CPU only for cross compatibility.