From ceedf2ac1b1300a12a7b69a31b53787035fe7c13 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Fri, 22 Jan 2010 19:49:02 +0100 Subject: added blockingWait parameter to putWaitForEvent(...) CLCommandQueue methods. --- test/com/mbien/opencl/CLConcurrencyTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/com') diff --git a/test/com/mbien/opencl/CLConcurrencyTest.java b/test/com/mbien/opencl/CLConcurrencyTest.java index bcd290ad..bfa42907 100644 --- a/test/com/mbien/opencl/CLConcurrencyTest.java +++ b/test/com/mbien/opencl/CLConcurrencyTest.java @@ -48,7 +48,7 @@ public class CLConcurrencyTest { .putWriteBuffer(clBufferB, false, events); // write B assertEquals(2, events.size()); - queue.putWaitForEvents(events); + queue.putWaitForEvents(events, true); events.release(); assertEquals(0, events.size()); @@ -60,8 +60,8 @@ public class CLConcurrencyTest { queue.put1DRangeKernel(vectorAddKernel, 0, elements, 256, events); assertEquals(2, events.size()); - queue.putWaitForEvent(events, 0) - .putWaitForEvent(events, 1); + queue.putWaitForEvent(events, 0, false) + .putWaitForEvent(events, 1, true); queue.putReadBuffer(clBufferC, false) .putReadBuffer(clBufferD, true); -- cgit v1.2.3