https://bugs.freedesktop.org/show_bug.cgi?id=103586
--- Comment #15 from Dave Gilbert <[email protected]> ---
Hi Jan,
Yes, doing:
--- a/ocl.cpp
+++ b/ocl.cpp
@@ -65,6 +65,7 @@ static int got_dev(cl::Platform &plat,
std::vector<cl::Device> &devices, cl::Dev
events.push_back(event);
cl::Event eventMap;
queue.enqueueBarrierWithWaitList(&events);
+ event.wait();
mapped = (cl_uint*)queue.enqueueMapBuffer(output, CL_TRUE /* blocking */,
CL_MAP_READ,
0 /* offset */,
SIZE * SIZE * SIZE * sizeof(cl_uint) /* size */,
does seem to work.
Vedran: I've only got a Turks to play with; feel free to try my test on
something else.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug._______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev