Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAndPrintLabels ¶
func CreateAndPrintLabels(sysfsDRMDir string)
func GetNumaNode ¶ added in v0.29.0
GetNumaNode reads the cards numa node.
func GetTileCount ¶ added in v0.29.0
GetTileCount reads the tile count.
func Run ¶
func Run(sysfsDrmDir, nfdFeatureFile string, updateInterval time.Duration, scanResources chan bool, levelzero levelzeroservice.LevelzeroService, exitFunc func())
Gathers node's GPU labels on channel trigger or timeout, and write them to a file. The created label file is deleted on exit (process dying).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.