How to Run UE Editor in Server+Client Mode with Different GPUs (DeviceId=0 and DeviceId=1)?

I now want to run in the UE editor in a Server + Client mode, with the server running on the GPU with DeviceId=0 and the client running on the GPU with DeviceId=1. Is there any way to achieve this?