Question about debug kernel

Hi everyone

i want put this line printf(“HOLA MUNDo”); into kernel but i get one error, how i can debug my code in kernel?

thanks

Printf in kernels is supported with Fermi hardware and CUDA toolkit 3.1. If you dont have a Fermi card, use cuda-gdb for debugging. A short introduction to it can be found on the CUDA downloads pags.