diff options
author | Michael Bien <[email protected]> | 2009-10-20 00:53:50 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2009-10-20 00:53:50 +0200 |
commit | 7f2db980b303fa75f3830679ce65fe4ae41c30dc (patch) | |
tree | a22f4ad2a068ff0816ebc2a4ca71bb2426ee46e4 /test/com/mbien/opencl | |
parent | 224985638b2a1486e4b7da1642a4f2cc22fc8644 (diff) |
added CLCommandQueue to CLContext's resource management code, minor fixes...
Diffstat (limited to 'test/com/mbien/opencl')
-rw-r--r-- | test/com/mbien/opencl/JOCLTest.java | 2 |
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: "); |