I need to be able to set CUDA_DEVICE_ORDER to “PCI_BUS_ID”, but every time I type:
bash: export: `CUDA_DEVICE_ORDER=PCI_BUS_ID': not a valid identifier
I was able to run that as a super user, but the changes don’t stay for other users.
If that’s not possible, for some reason, we need to be able to identify which GPU is used to display. We’re developing a multi-GPU app with OpenGL rendering and we gave the option to reduce the amount of computation done by GPU-0 to give it more time to render.
So either solution would be good for us!