hello, I use the pow() function twice throughout a global function, and the first causes a problem but it doesn’t complain about the second.
Just by taking a look, can anyone see what might be wrong?
t2 = 24.0pow(10.0, 6.953-4.09*log10(envreal_.zwtemp[*iz][*iy][*ix]+26.0));
xweight[*i] = pow(xlength[*i]/kwt2lena, 1.0/kwt2lenb);
I get the message:
cuda.cu(166): error: calling a host function from a device/global function is only allowed in device emulation mode