added option type for local work size

Making local size optional allows the OpenCL implementation to choose the most appropriate local group size.