mirror of
https://github.com/clearml/go-nvlib
synced 2025-01-31 02:47:02 +00:00
Skip DGX Display devices in addition to NVIDIA DGX Display devices
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
a27e593595
commit
7e5501f6a3
@ -51,7 +51,10 @@ func New(opts ...Option) Interface {
|
|||||||
d.nvml = nvml.New()
|
d.nvml = nvml.New()
|
||||||
}
|
}
|
||||||
if d.skippedDevices == nil {
|
if d.skippedDevices == nil {
|
||||||
WithSkippedDevices("NVIDIA DGX Display")(d)
|
WithSkippedDevices(
|
||||||
|
"DGX Display",
|
||||||
|
"NVIDIA DGX Display",
|
||||||
|
)(d)
|
||||||
}
|
}
|
||||||
return d
|
return d
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user