summaryrefslogtreecommitdiffstats
path: root/test/com/mbien/opencl/CLConcurrencyTest.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-01-22 19:49:02 +0100
committerMichael Bien <[email protected]>2010-01-22 19:49:02 +0100
commitceedf2ac1b1300a12a7b69a31b53787035fe7c13 (patch)
tree8e3bbc8e5a983479a2a99303eb9bca1a4306a28a /test/com/mbien/opencl/CLConcurrencyTest.java
parent9ca000faa6aea6771ff5cf209846ef7fb9ff227a (diff)
added blockingWait parameter to putWaitForEvent(...) CLCommandQueue methods.
Diffstat (limited to 'test/com/mbien/opencl/CLConcurrencyTest.java')
-rw-r--r--test/com/mbien/opencl/CLConcurrencyTest.java6
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);