xpra icon
Bug tracker and wiki

Opened 3 days ago

Last modified 3 days ago

#2416 assigned enhancement

CUDA device selection by name

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 4.0
Component: encodings Version: 3.0.x
Keywords: Cc:


Follow up for #2415: we should be able to select the list of enabled / disabled devices using their name and / or PCI bus location (ie: 0000:1A:00.0) without doing a full CUDA context initialization.

load_device can get to the device name before calling make_context (which is slow).

Change History (1)

comment:1 Changed 3 days ago by Antoine Martin

Status: newassigned

We can't skip the make_context completely in select_device because driver.mem_get_info() requires a valid context.

Maybe we can have different policies for load balancing, and one may not require memory info to do its job.

Last edited 3 days ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.