gpucmd

package
v1.22.8 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(_ *application.Lux) *cobra.Command

NewCmd creates the gpu command and its subcommands.

Types

type GPUStatus

type GPUStatus struct {
	Available    bool   `json:"available"`
	Backend      string `json:"backend"`
	Platform     string `json:"platform"`
	Architecture string `json:"architecture"`
	CGOEnabled   bool   `json:"cgo_enabled"`
	Features     struct {
		NTTAcceleration bool `json:"ntt_acceleration"`
		FHEAcceleration bool `json:"fhe_acceleration"`
	} `json:"features"`
	DefaultConfig struct {
		Enabled     bool   `json:"enabled"`
		Backend     string `json:"backend"`
		DeviceIndex int    `json:"device_index"`
		LogLevel    string `json:"log_level"`
	} `json:"default_config"`
}

GPUStatus represents the GPU status information.

Jump to

Keyboard shortcuts

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