Skip to content

Commit 2d43e61

Browse files
committed
gpu plugin: create monitoring without topology hints
Fix warning prints due to /dev/meiX not being accessible Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
1 parent ed8dfab commit 2d43e61

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cmd/gpu_plugin/gpu_plugin.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,8 @@ func (dp *devicePlugin) scan() (dpapi.DeviceTree, error) {
759759
// all Intel GPUs are under single monitoring resource per KMD
760760
if len(monitor) > 0 {
761761
for resourceName, devices := range monitor {
762-
deviceInfo := dpapi.NewDeviceInfo(pluginapi.Healthy, devices, nil, nil, nil, nil)
762+
deviceInfo := dpapi.NewDeviceInfoWithTopologyHints(
763+
pluginapi.Healthy, devices, nil, nil, nil, nil, nil)
763764
devTree.AddDevice(resourceName, monitorID, deviceInfo)
764765
}
765766
}

0 commit comments

Comments
 (0)