idxd

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 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