SimpleTechniques for Debugging
Printing variables still frequent
- Put the prints in a critical section
- Add the thread id
- Add iteration to check sequential consistency
- If data is bad in large array over several timesteps
- Checksum shared memory regions
- Compare checksum to serial on each time step