@@ -583,7 +583,6 @@ type Interface interface {
583583 EventSetCreate () (EventSet , Return )
584584 EventSetFree (EventSet ) Return
585585 EventSetWait (EventSet , uint32 ) (EventData , Return )
586- Extensions () ExtendedInterface
587586 GetExcludedDeviceCount () (int , Return )
588587 GetExcludedDeviceInfoByIndex (int ) (ExcludedDeviceInfo , Return )
589588 GetVgpuCompatibility (* VgpuMetadata , * VgpuPgpuMetadata ) (VgpuPgpuCompatibility , Return )
@@ -668,6 +667,7 @@ type Interface interface {
668667 VgpuTypeGetName (VgpuTypeId ) (string , Return )
669668 VgpuTypeGetNumDisplayHeads (VgpuTypeId ) (int , Return )
670669 VgpuTypeGetResolution (VgpuTypeId , int ) (uint32 , uint32 , Return )
670+ Extensions () ExtendedInterface
671671}
672672
673673// Device represents the interface for the nvmlDevice type.
@@ -990,7 +990,6 @@ type VgpuInstance interface {
990990//
991991//go:generate moq -out mock/vgputypeid.go -pkg mock . VgpuTypeId:VgpuTypeId
992992type VgpuTypeId interface {
993- Extensions () ExtendedVgpuTypeId
994993 GetCapabilities (VgpuCapability ) (bool , Return )
995994 GetClass () (string , Return )
996995 GetCreatablePlacements (Device ) (VgpuPlacementList , Return )
@@ -1005,4 +1004,5 @@ type VgpuTypeId interface {
10051004 GetNumDisplayHeads () (int , Return )
10061005 GetResolution (int ) (uint32 , uint32 , Return )
10071006 GetSupportedPlacements (Device ) (VgpuPlacementList , Return )
1007+ Extensions () ExtendedVgpuTypeId
10081008}
0 commit comments