Changed commandqueue actions to be based on ocl_device_queues size rather than ocl_devices