diff options
author | Michael Bien <[email protected]> | 2010-01-22 19:49:02 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-01-22 19:49:02 +0100 |
commit | ceedf2ac1b1300a12a7b69a31b53787035fe7c13 (patch) | |
tree | 8e3bbc8e5a983479a2a99303eb9bca1a4306a28a /test | |
parent | 9ca000faa6aea6771ff5cf209846ef7fb9ff227a (diff) |
added blockingWait parameter to putWaitForEvent(...) CLCommandQueue methods.
Diffstat (limited to 'test')
-rw-r--r-- | test/com/mbien/opencl/CLConcurrencyTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
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); |