[CRASH] Fix compilation crash in mrg on the GPU.