printf from within kernel?
By macleod at Tue, Feb 2 2010 12:00pm |
Hi Folks,
just wondering if it's possible to do a printf from within a kernel.
The Apple OpenCL guide states that printf can be used for debugging. However, it does not explicitly state in that sentence that it can be used for debugging on the GPU.
Certainly, it bombs with an error if you try it.
I see in the NVIDIA docs there is an emulation mode. Is that an alternative?
Many thanks for any advice offered.
Kind regds,
Max


