accelerator

package
v0.4.4-rc-1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type string
const (
	TypeUnknown Type = "unknown"
	TypeNVIDIA  Type = "nvidia"
)

func DetectTypeAndProductName

func DetectTypeAndProductName(ctx context.Context) (Type, string, error)

Returns the GPU type (e.g., "NVIDIA") and product name (e.g., "A100")

Jump to

Keyboard shortcuts

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