News for hackers. Stuff that matters.
Re:Use the Surrender Tactic: Frustration when debugging by Robadob on Saturday March 30, 2013 @06:18PM (#5466866)
I just solved a bug in someone's CUDA agent based modelling library which caused a runtime error when compiling for a more recent CUDA compute architecture. The actual bug was due to the more recent architecture enforcing pointer alignment, while the older implementations just ignored it. My fixing of the bug, created other bugs (largely due to my lack of CUDA experience)and I eventually solved it by coincidence when applying my fixes from a reset across the whole code, rather than at a local level.

I may have made no progress towards the task in these 2 full days I spent working solving this issue, however I have greatly improved my CUDA programming knowledge and debugging technique, which I would have otherwise never done, so when I inevitably reach another bug It should (hopefully) be much quicker for me to solve.

Re:Use the Surrender Tactic: Frustration when debugging by seanmcdirmid on Saturday March 30, 2013 @06:40PM (#5466916)
Ah, pointer alignment bugs...I remember this being a big thing when porting C code from the X86 to the Alpha.