nvcc assertion failure

I get this here

### Assertion failure at line 1543 of ../../be/cg/cgemit.cxx:

### Compiler Error in file kernel.cpp3.i during Assembly phase:

### incorrect register class for operand 0

for the attached kernel, simply by saying “nvcc -cubin kernel.cu”.

This is using cuda2 beta on Linux x86-64. (Ubuntu 8.04)

Ok, attaching this somehow didn’t work.

Here’s a link instead: crashy kernel

Thanks for reporting this problem. I’ve reproduced the assertion and opened bug 433220. It might be too late to get this fixed for the 2.0-final release. I’ll let you know if we can find a workaround.


I found a workaround already, it’s in the code, surrounded by “#if 0”.