Expand description
This module provides functionality to automatically pair compute devices with the best available RDMA NICs based on PCI topology distance.
Structs§
Functions§
- create_
cuda_ to_ rdma_ mapping - Creates a mapping from CUDA PCI addresses to optimal RDMA devices
- get_
all_ rdma_ devices - get_
cuda_ pci_ address - get_
nic_ pci_ address - get_
numa_ pci_ address - parse_
device_ string - parse_
pci_ topology - resolve_
rdma_ device - Resolves RDMA device using auto-detection logic when needed
- select_
optimal_ rdma_ device - Step 1: Parse device string into prefix and postfix Step 2: Get PCI address from compute device Step 3: Get PCI address for all RDMA NIC devices Step 4: Calculate PCI distances and return closest RDMA NIC device