tuned version for mac gpu.