summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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);
}