From 7f2db980b303fa75f3830679ce65fe4ae41c30dc Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Tue, 20 Oct 2009 00:53:50 +0200 Subject: added CLCommandQueue to CLContext's resource management code, minor fixes... --- test/com/mbien/opencl/JOCLTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/com') 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: "); -- cgit v1.2.3