Hello to everyone. I am experimenting with some cuda code. I have ubuntu 10.04 and installed the necessary toolkit, driver and SDK for Cuda 3.1 (with the Tesla c1060). So I went on /Path/to/SDK/C typed make and I had my first cuda executables. When I tried “make emu=1”, I received the
/usr/bin/ld: cannot find -lcudartemu
I read that after 3.0, deviceemu will be deprecated. But is there some other way for printing from inside the kernels ?
Fermi cards support printf() from inside kernels with CUDA 3.1. Otherwise you could use cuda-gdb. A quick tutorial can be found on the CUDA downloads page.