Hey all,
I am trying to execute a logarithm operation on the device. I know the “log” function I am using is a host function, which is only executable in device emulation mode. Anyone know what the name of the real device function is? And where do I find a list of them?
Thank you muchly
[codebox]device void drawExp(double* draw,int size, double beta){
int i;
for(i=0;i<size;i++){
draw[i] = -log(rand())/beta;
}
}[/codebox]