I am new to Cuda.
get an error as below :
error: calling a host function from a
device/global function is only allowed in device emulation
printf(“num = %d”,num);
the function printf can’t be compiled if it is used in the Device Side ?
If so , how can I use the device emulation mode ?
thanks in advance , guys