e3c8979e8d
- cmd/fn/doctor.go - cmd/fn/main.go - cpp/apps/primitives_gallery/playground/tables/CMakeLists.txt - cpp/apps/primitives_gallery/playground/tables/data_table.cpp - cpp/apps/primitives_gallery/playground/tables/data_table_logic.cpp - cpp/apps/primitives_gallery/playground/tables/data_table_logic.h - cpp/apps/primitives_gallery/playground/tables/self_test.cpp - cpp/apps/primitives_gallery/playground/tables/tql.cpp - cpp/apps/primitives_gallery/playground/tables/viz.cpp - cpp/apps/primitives_gallery/playground/tables/viz.h - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
13 lines
414 B
Go
13 lines
414 B
Go
package infra
|
|
|
|
// GpuInfo describe una GPU detectada en el sistema con sus capacidades de VRAM
|
|
// y versiones de driver y CUDA.
|
|
type GpuInfo struct {
|
|
Index int `json:"index"`
|
|
Name string `json:"name"`
|
|
VramTotalMb int `json:"vram_total_mb"`
|
|
VramFreeMb int `json:"vram_free_mb"`
|
|
DriverVersion string `json:"driver_version"`
|
|
CudaVersion string `json:"cuda_version,omitempty"`
|
|
}
|