TRQ-2702. Fix a compilation error with gpus.