summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-02-28 01:13:17 +0100
committerMichael Bien <[email protected]>2010-02-28 01:13:17 +0100
commitbb92a1504c47073f5d17498607e5be9e79e20532 (patch)
tree0be81a0ed1d1fa480622a01d992656700c7f6686 /src
parentcdd12998f454a45c459166528ff155f6f15e2142 (diff)
fixed copy and paste bug in CLCommandQueue.put1DRangeKernel().
Diffstat (limited to 'src')
-rw-r--r--src/com/mbien/opencl/CLCommandQueue.java2
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);
}