MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / release_gpu

Method release_gpu

crates/openshell-driver-vm/src/driver.rs:1327–1333  ·  view source on GitHub ↗
(&self, sandbox_id: &str)

Source from the content-addressed store, hash-verified

1325 }
1326
1327 fn release_gpu(&self, sandbox_id: &str) {
1328 if let Some(inventory) = self.gpu_inventory.as_ref()
1329 && let Ok(mut inv) = inventory.lock()
1330 {
1331 inv.release(sandbox_id);
1332 }
1333 }
1334
1335 fn release_subnet(&self, sandbox_id: &str) {
1336 if let Ok(mut alloc) = self.subnet_allocator.lock() {

Callers 2

release_allocationsMethod · 0.80

Calls 1

releaseMethod · 0.45

Tested by

no test coverage detected