#2416 closed enhancement (worksforme)
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: |
Description
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 (6)
comment:1 Changed 18 months ago by
Status: | new → assigned |
---|
comment:2 Changed 16 months ago by
comment:3 Changed 16 months ago by
r24340 adds a load-balancing
attribute and a round-robin
option, the memory
policy is still the default. (chooses the GPU with the most free memory)
Still needs testing.
comment:4 Changed 16 months ago by
comment:5 Changed 13 months ago by
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
See examples in browser/xpra/trunk/src/etc/xpra/cuda.conf.
comment:6 Changed 6 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2416
Note: See
TracTickets for help on using
tickets.
We can't skip the
make_context
completely inselect_device
becausedriver.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.