aboutsummaryrefslogtreecommitdiffstats
path: root/test/com/mbien
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-10-20 00:53:50 +0200
committerMichael Bien <[email protected]>2009-10-20 00:53:50 +0200
commit7f2db980b303fa75f3830679ce65fe4ae41c30dc (patch)
treea22f4ad2a068ff0816ebc2a4ca71bb2426ee46e4 /test/com/mbien
parent224985638b2a1486e4b7da1642a4f2cc22fc8644 (diff)
added CLCommandQueue to CLContext's resource management code, minor fixes...
Diffstat (limited to 'test/com/mbien')
-rw-r--r--test/com/mbien/opencl/JOCLTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/com/mbien/opencl/JOCLTest.java b/test/com/mbien/opencl/JOCLTest.java
index e0dfdee8..224a6768 100644
--- a/test/com/mbien/opencl/JOCLTest.java
+++ b/test/com/mbien/opencl/JOCLTest.java
@@ -419,7 +419,7 @@ public class JOCLTest {
// Asynchronous write of data to GPU device, blocking read later
queue.putWriteBuffer(clBufferA, false)
.putWriteBuffer(clBufferB, false)
- .putNDRangeKernel(vectorAddKernel, 1, new long[]{0}, new long[]{ globalWorkSize }, new long[]{ localWorkSize })
+ .putNDRangeKernel(vectorAddKernel, 1, null, new long[]{ globalWorkSize }, new long[]{ localWorkSize })
.putReadBuffer(clBufferC, true).release();
out.println("a+b=c result snapshot: ");