My program crashes when calling a kernel with a printf in it.The program does not crash when I remove the printf statement or when I use global work size = 1 (but in any case it does not print anything).I could not find any documentation about printf, except that works...
My program crashes when calling a kernel with a printf in it.The program does not crash when I remove the printf statement or when I use global work size = 1 (but in any case it does not print anything).I could not find any documentation about printf, except that works...
The problem is not clEnqueueReadBuffer, because the crash happens also by calling clFinish after clEnqueueNDRangeKernel.I was calling clEnqueueNDRangeKernel using NULL as argument for local_work_size. According to the 1.1 specification: "local_work_size can also be a ...
My program crashes when calling a kernel with a printf in it.The program does not crash when I remove the printf statement or when I use global work size = 1 (but in any case it does not print anything).I could not find any documentation about printf, except...