MCPcopy Create free account
hub / github.com/dante-gpu/dante-cli-sdk / VirtualGPU

Class VirtualGPU

src/gpu/virtual_gpu.rs:6–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5#[derive(Debug, Clone, Serialize, Deserialize)]
6pub struct VirtualGPU {
7 pub id: u32,
8 pub vram_mb: u32,
9 pub compute_units: u32,
10 pub allocated_to: Option<String>,
11}
12
13pub struct GPUPool {
14 pub gpus: HashMap<u32, VirtualGPU>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected