func NewMIGCapableDevices(nvml Nvml) *MIGCapableDevices {
	return &MIGCapableDevices{
		nvml:       nvml,
		devicesMap: nil,  
	}
}
NewMIGCapableDevices creates a new MIGCapableDevices struct and returns a pointer to it.
package main
import (
	"fmt"
)
type MIGCapableDevices struct {
	nvml Nvml
	devicesMap map[bool][]NvmlDevice
}