Help us shape the future of Go! Take the 2026 Go Developer Survey

gpu

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Requested

func Requested(ctx context.Context, client InfoClient, requirement any, mode string, explicit bool, logf func(string, ...any)) (bool, error)

Requested applies the shared upstream availability decision. Explicit GPU selection takes precedence over automatic host requirement requests.

Types

type InfoClient

type InfoClient interface {
	Info(context.Context) (system.Info, error)
}

InfoClient reads the Engine's registered runtime records.

Jump to

Keyboard shortcuts

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