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

Function gpu_resources

crates/openshell-driver-podman/src/container.rs:1167–1171  ·  view source on GitHub ↗
(count: Option<u32>)

Source from the content-addressed store, hash-verified

1165 }
1166
1167 fn gpu_resources(count: Option<u32>) -> ResourceRequirements {
1168 ResourceRequirements {
1169 gpu: Some(GpuResourceRequirements { count }),
1170 }
1171 }
1172
1173 #[test]
1174 fn parse_cpu_millicore() {

Calls

no outgoing calls