Can we use printf function with the GPU HD4000 ? or, is there is a solution to bypass this limitation ?
it's for debugging , have you any better solution ?
printf on GPU is not supported on HD4000. One way to debug is to write intermediate values to a debug buffer and read it back on the host. You can them compare the result with that you got on the CPU. Sorry there is no easy way currently.