Commit c6943509 authored by Benedikt Zoennchen's avatar Benedikt Zoennchen
Browse files

change of the local size of a kernel in CLLinkedCell.java.

parent 41d7b00f
Pipeline #88766 canceled with stages
...@@ -572,9 +572,9 @@ public class CLLinkedCell { ...@@ -572,9 +572,9 @@ public class CLLinkedCell {
clGlobalWorkSize = stack.callocPointer(1); clGlobalWorkSize = stack.callocPointer(1);
clLocalWorkSize = stack.callocPointer(1); clLocalWorkSize = stack.callocPointer(1);
clGlobalWorkSize.put(0, numberOfElements / 2); clGlobalWorkSize.put(0, numberOfElements / 2);
clLocalWorkSize.put(0, Math.max(maxWorkGroupSize / 4, 1)); //clLocalWorkSize.put(0, Math.max(maxWorkGroupSize / 4, 1));
CLInfo.checkCLError((int)enqueueNDRangeKernel("clBitonicMergeGlobal", clQueue, clBitonicMergeGlobal, 1, null, clGlobalWorkSize, clLocalWorkSize, null, null)); CLInfo.checkCLError((int)enqueueNDRangeKernel("clBitonicMergeGlobal", clQueue, clBitonicMergeGlobal, 1, null, clGlobalWorkSize, null, null, null));
CLInfo.checkCLError(clFinish(clQueue)); CLInfo.checkCLError(clFinish(clQueue));
} else { } else {
//Launch bitonicMergeLocal //Launch bitonicMergeLocal
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment