public void setGlobalWorkSize(int size) {
        globalWorkSize.set(1, size);
    }
Sets the global work size to a 1D grid

@param size the size in 1D
jme3-core/src/main/java/com/jme3/opencl/Kernel.java