idxd

package
v0.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DevicePlugin

type DevicePlugin struct {
	// contains filtered or unexported fields
}

DevicePlugin defines properties of the idxd device plugin.

func NewDevicePlugin

func NewDevicePlugin(statePattern, devDir string, sharedDevNum int) *DevicePlugin

NewDevicePlugin creates DevicePlugin.

func (*DevicePlugin) Scan

func (dp *DevicePlugin) Scan(notifier dpapi.Notifier) error

Scan discovers devices and reports them to the upper level API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL