Mon May 24, 2021 9:19 pm
Hi,
Is there a way to identify the physical ID of a GPU in Resolve's GPU list ordering (under GPU preferences) when multi-GPU models are identical. And what - if any - factors may cause that listing order to change between Resolve sessions (or reboots) on any given static system.
Say there are 4x RTX 3090 in a system. Resolve lists those cards identically by name, and indicates if any have displays attached. The 4 cards names & PCIe addresses can be verified through nvidia-smi.exe, which seems to list the cards sequentially - in order of PCIe Domain, Bus, and Device ID.
Programmatically - either through CUDA API or nVidia nvml library - I need to single out the ID (UUID, PCIe address, or CUDA Device ID) of the GPU used by Resolve to buffer the in / out CUDA data between OFX Host and plugin which processes clips single-frame at a time, sequentially.
I'm wondering if the system environment variable CUDA_DEVICE_ORDER=PCI_BUS_ID influences the way in which Resolve lists the GPUs. Or are there other ways to go about associating Resolve's GPU listing to physical device IDs.
Thank you