So, I started using cuda today attempting to write a quick application to test performance and have run into this problem:
1>### Assertion failure at line 793 of …/…/be/cg/NVISA/exp_loadstore.cxx:
1>### Compiler Error in file C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/tmpxft_00001040_00000000-4.i during Code_Expansion phase:
1>### variable not in memory space
It seems that other people are having this problem and that it’s possibly a known bug.
Is there any way to get around this issue for now?
My code’s quite long so, I don’t know how readable it’d be if I posted it, but here’s the section in question.
for (i=2; i<13; i++)
{
c=0;
for (j=0; j<6; j++)
{
c<<=1;
if (bb[y] & u) c|=1;
u>>=1;
if (!u)
{
y++;
u=0x80;
}
//result_space[0] = my_cov_2char[c];
}
}
If I uncomment the result_space assignment (result_space is of type char*), I will get the error posted above. Any suggestions anyone has would be very helpful.