ByoGPU class

Constructors

ByoGPU({String? arch, String? memoryTotal, String? name, bool? unified})
Returns a new ByoGPU instance.

Properties

arch ↔ String?
Arch is the card's native compile target ("gfx1151"), which is what a kernel has to be built for. AMD reports one; NVIDIA cards leave it empty.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
memoryTotal ↔ String?
MemoryTotal is the card's VRAM in the units the host reported it in ("122880 MiB") — a display string, not a byte count. On a unified part it is the shared CPU/GPU pool, so it is not memory reserved for the GPU.
getter/setter pair
name ↔ String?
Name is the card's model exactly as its own tooling named it ("NVIDIA GB10"), never normalized — an operator matches what they see here against what nvidia-smi tells them on the box.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unified ↔ bool?
Unified reports that CPU and GPU share one memory pool (an APU or SoC), so MemoryTotal is not private to the GPU and the host competes for it.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → ByoGPU?
Returns a new ByoGPU instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<ByoGPU>
mapFromJson(dynamic json) → Map<String, ByoGPU>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<ByoGPU>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.