nvproxy

package
v0.0.0-...-957f62e Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0, MIT Imports: 30 Imported by: 0

Documentation

Overview

Package nvproxy implements proxying for the Nvidia GPU Linux kernel driver: https://github.com/NVIDIA/open-gpu-kernel-modules.

Supported Nvidia GPUs: T4, L4, A100, A10G, V100 and H100.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDriverDevtmpfsFiles

func CreateDriverDevtmpfsFiles(ctx context.Context, dev *devtmpfs.Accessor, uvmDevMajor uint32) error

CreateDriverDevtmpfsFiles creates device special files in dev that should always exist when this package is enabled. It does not create per-device files in dev; see CreateIndexDevtmpfsFile.

func CreateIndexDevtmpfsFile

func CreateIndexDevtmpfsFile(ctx context.Context, dev *devtmpfs.Accessor, minor uint32) error

CreateIndexDevtmpfsFile creates the device special file in dev for the device with the given index.

func Filters

func Filters() seccomp.SyscallRules

Filters returns seccomp-bpf filters for this package.

func Register

func Register(vfsObj *vfs.VirtualFilesystem, uvmDevMajor uint32) error

Register registers all devices implemented by this package in vfsObj.

Types

This section is empty.

Jump to

Keyboard shortcuts

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