Is there an instruction limitation for a cuda-function ?
I have the following problem:
My renderer works fine as it is now, but if I only add one more (even senseless) line in the source, it seems to be not executed at all :(
I cant paste the complete source as it is too big…
The main cuda render-function has about 400 lines - and I cant continue development as it wont execute if I only add one more line.
(I get a black screen and the framerate bumps up)
Here an example modification that wont let it run:
(Actually I tested various things)
Version that runs OK :
unsigned int test_color1 = ...; unsigned int color_final = test_color1;
Version that doesnt run at all:
int position_x = ... int position_y = ... ... unsigned int test_color1 = ...; unsigned int test_color2 = ( position_x ^ position_z ); unsigned int color_final = test_color1^test_color2;
VS2005, WinXP SP2, Cuda1.1, GF8800GTS, Driver 220.127.116.1121 (2007/12/05),
CPU Pentium D 3.0Ghz, 1.0GB Ram, GF8800GTS
does anybody had a similar problem ?
cudaGetLastError() Gives me
“error :too many resources requested for launchtime:14”
CUT_CHECK_ERROR doesnt return an error.
Edit: Just found
perhaps its the solution