compiling error

I got the following error when compiling in cuda code after I fix all the syntex errors:

1>### Assertion failure at line 848 of …/…/be/cg/NVISA/exp_loadstore.cxx:
1>### Compiler Error in file c:/windows/temp/tmp_00000754-2.i during Code_Expansion phase:
1>### externs NYI

Any idea on this?

Thanks.

mayt

Can you provide the file (and any includes) you are compiling so we can file a compiler bug and possibly find you a workaround?

Thanks,
Mark

Mark,

I’m sorry I can not upload those files due to IP issue. I’ll manipulate the file and upload later if necessary.

One reason I suspect is that my code is too long ( more than 6000 lines, and some inline function is more than 3300 lines ), I’m afraid this is the reason. After I commented out most of the code, it can pass. I’ll continue to recover the code to see where is the problem.

Could you share some information on possible limit of code length that current CUDA can handle?

Meanwhile, can we get any information from the following assertion failure:

Assertion failure at line 848 of …/…/be/cg/NVISA/exp_loadstore.cxx

I think this was from nvcc code.

Thank you, Mark

Mark,

I tried to use pheudo code to repeat the same problem, but failed.

Can you help to check what this means by:

Assertion failure at line 848 of …/…/be/cg/NVISA/exp_loadstore.cxx

The assertion might give us some useful information and possibly a workaround.

Thanks for your help.

mayt