|
Ran
|
Jobs
1
|
Files
251
|
Run time
1min
|
Badge
README BADGES
|
github
Do not hardcode iGPU device minor on systems with both iGPU and dGPU On IGX 2.0+ systems with both an iGPU and dGPU, the device index (reported by NVML) may not match the device minor number. This was seen on a Thor-IGX t7000 board where the NVML index for the iGPU was 0 while it's device minor was 1 (/dev/nvidia1). Before this commit, the mixed CSV generator assumed the iGPU has minor 0 and the dGPU has minor 1. This commit updates this logic so that we query the iGPU's minor number from NVML and use it to select the device node. If NVML cannot report a minor number (e.g. Orin), fall back to the index as before. Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com> (cherry picked from commit 786df6ddc)
10 of 13 new or added lines in 1 file covered. (76.92%)
6102 of 13800 relevant lines covered (44.22%)
0.44 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 3 |
74.3
|
-0.38% | pkg/nvcdi/lib-csv.go |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 46737005326.1 | 251 |
44.22
|
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|