From bb92a1504c47073f5d17498607e5be9e79e20532 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Sun, 28 Feb 2010 01:13:17 +0100 Subject: fixed copy and paste bug in CLCommandQueue.put1DRangeKernel(). --- src/com/mbien/opencl/CLCommandQueue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/com/mbien/opencl/CLCommandQueue.java b/src/com/mbien/opencl/CLCommandQueue.java index 7351d22a..582bce5f 100644 --- a/src/com/mbien/opencl/CLCommandQueue.java +++ b/src/com/mbien/opencl/CLCommandQueue.java @@ -643,7 +643,7 @@ public class CLCommandQueue extends CLObject implements CLResource { if(globalWorkSize != 0) { globWS = copy2NIO(bufferB, globalWorkSize); } - if(globalWorkSize != 0) { + if(localWorkSize != 0) { locWS = copy2NIO(bufferC, localWorkSize); } -- cgit v1.2.3