`-grayscale` is OpenCL accelerated. https://imagemagick.org/script/opencl.php Equivalent command would be `-grayscale Rec709Luma`. As per https://www.imagemagick.org/script/command-line-options.php#grayscale