Skip DGX Display devices in addition to NVIDIA DGX Display devices

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2022-12-07 11:40:09 +01:00
parent a27e593595
commit 7e5501f6a3

View File

@ -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
} }