AnsweredAssumed Answered

clEnqueueReadBufferRect/clEnqueueWriteBufferRect are broken in 14.12 driver

Question asked by set on Dec 9, 2014
Latest reply on Feb 2, 2015 by natasha

clEnqueueReadBufferRect/clEnqueueWriteBufferRect worked with no problems in 14.9 and 14.4, but now in 14.12 they are completely broken on HD6950 / Win7 x64.

Can anyone else confirm this?

 

Even trivial code (with inline arrays pseudocode)

clEnqueueWriteBufferRect(queue, cl_buf, CL_FALSE, {0, 0, 0}, {0, 0, 0}, {width, height, 1}, width, 0, width, 0, src, 0, NULL, NULL);
clEnqueueReadBuffer(queue, cl_buf, CL_TRUE, 0, width*height, dst, 0, NULL, NULL);

doesn't work anymore. Replacing first line with plain write works fine:

clEnqueueWriteBuffer(queue, cl_buf, CL_FALSE, 0, width*height, src, 0, NULL, NULL);

Outcomes