While compiling my CUDA kernel I get a nasty error from the nvcc:
1>### Assertion failure at line 239 of …/…/be/opt/opt_sync.cxx:
1>### Compiler Error in file C:\Users\xxx\AppData\Local\Temp/tmpxft_00000ec4_00000000-9_gc.cpp3.i during Global Optimization – Dead Sync Elimination phase:
1>### Not expecting load or store here.
1>nvopencc ERROR: C:\CUDA\bin/…/open64/lib//be.exe returned non-zero status 1
Has anyone encountered this error message before or even knows how to get rid of it? I tried to randomly remove parts of my kernel, sometimes the compiler works, sometimes it crashes. I narrowed the culprit down to about 5 lines, but I can’t see anything nasty there…
My system is Windows Vista, 64 bit, CUDA toolkit 2.2, Visual Studio 2008.
Any help is appreciated…