I need to run the executable generated with Unreal on a Linux server with several GPUs installed. I need to be able to select the GPU the process will use.
I would expect this can be done setting some environmental variable, as CUDA_VISIBLE_DEVICES
works for other applications, but this one is completely ignored by my game.
Is CUDA_VISIBLE_DEVICES
supposed to work with Unreal executables? Is there any other way to achieve this?