use ComputeEmulatorMode as Mode parameter type