add device.computeUnits() to return max number of compute units