diff options
author | Michael Bien <[email protected]> | 2010-02-28 01:13:17 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-02-28 01:13:17 +0100 |
commit | bb92a1504c47073f5d17498607e5be9e79e20532 (patch) | |
tree | 0be81a0ed1d1fa480622a01d992656700c7f6686 /src/com | |
parent | cdd12998f454a45c459166528ff155f6f15e2142 (diff) |
fixed copy and paste bug in CLCommandQueue.put1DRangeKernel().
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/mbien/opencl/CLCommandQueue.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |