I have a 9000 line piece of non ansi C code written by someone else that I have been trying to port to use portions with CUDA. I have fixed all the compiler errors but then right at the tail end it says Internal Error.
Does anyone know what types of things cause internal errors. I have thought about parameters passed to the kernal (I have 40 parameters) and number of threads (I am using 50). The code still has 365 warnings that were given to me when I got the thing.
Any clues?
Thanks
In addition: It compiles just fine for the EmuDebug and EmuRelease but not for Debug or Release
when I comment this line out the internal error goes away. I have tried to use temporary variables, add one and then subtract one, nothing works. Except if I do az = 0;