Commit 995f95b
committed
Improve NVIDIA device detection for container passthrough
Refines the logic to only include character devices when binding /dev/nvidia* for container passthrough, avoiding directories like /dev/nvidia-caps. Also adds support for detecting NVIDIA devices inside the /dev/nvidia-caps directory.1 parent 33ce3fd commit 995f95b
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2442 | 2442 | | |
2443 | 2443 | | |
2444 | 2444 | | |
2445 | | - | |
2446 | | - | |
| 2445 | + | |
| 2446 | + | |
| 2447 | + | |
2447 | 2448 | | |
| 2449 | + | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
| 2453 | + | |
| 2454 | + | |
2448 | 2455 | | |
2449 | 2456 | | |
2450 | 2457 | | |
| |||
0 commit comments