While developing several projects with CUDA i encountered many problems, some compiler bugs, some different-then-C-compiler behavior, some completely untraceable bugs.
I had a hard time figuring them out, as I sometimes didn’t know where and what to search for. It was sometimes a real pain and took alot of time.
In this thread I would like the CUDA community to post every_bug_out_there. Every “wtf”, every odd behaviour, etc.
Let it be documented in one place.
Please post along code examples that cause the bug, what it should do, but doesn’t (or what it does, but shouldn’t) , how to fix or workaround it…
Or post a thread where you posted your bug before.
Lets help new devs ;)
to get something started:
[topic=“166687”]unexpected loop unrolling[/topic]
[topic=“166681”]compiler problems with 64bit datatype and logical instructions[/topic]
Uh… in my one-year experience with CUDA I stumbled on many, many strange errors. Some are funny, some caused me a headache for several days or even weeks, stopping completely my progress…
Here is my list (from newest to oldest).
Unfortunately, in most cases I have no idea about the progress resolving the problem - is anyone working on it, or was it completely ignored? … I am worried, the latter is the case.
Anyway, have fun reading!