lm-opencl: mask-mode support.