How do you debug compiler errors?

I am getting the following error when I try to compile (outside of emulation mode). I did build the porject based on a copy of template.

1>### Assertion failure at line 746 of …/…/be/cg/NVISA/cgemit_targ.cxx:
1>### Compiler Error in file C:\DOCUME~1\Owner\LOCALS~1\Temp/tmpxft_00000c48_00000000-4.i during Assembly phase:
1>### NYI initv kind 1
1>nvopencc ERROR: C:\CUDA\bin/…/open64/lib//be.exe returned non-zero status 1

Not sure how to proceed. Any suggestions?


not clear, post code pls?
perhaps templates didn’t work.

This was the culpable code

device constant static char* selfTestSource[3] =


Works in emulation not in debug or release.

Hope this helps someone oneday …

the follow sniplet works in emulation but not in release mode. got the same
compiler error like you.

device enum imp_def { IMP_ASM, IMP_JAVA, IMP_NO };

device struct
char name;
int len;
enum imp_def imp;
int cnt;
} instruction[] =
{“nop”, 1, IMP_ASM, 1}, /
0x00 /
{“aconst_null”, 1, IMP_JAVA, 1}, /
0x01 */
{“iconst_m1”, 1, IMP_ASM, 1}, // 0x02



it’s simple, string manipulation is not supported in CUDA

ok, thank you. need to thing about the consequences/workarounds.

but a really strange way from the compiler to tell me this… :-)

thank you wumpus !