(gpu: GpuCliRequest)
| 37 | |
| 38 | impl From<GpuCliRequest> for GpuResourceRequirements { |
| 39 | fn from(gpu: GpuCliRequest) -> Self { |
| 40 | match gpu { |
| 41 | GpuCliRequest::Count(count) => Self { count: Some(count) }, |
| 42 | GpuCliRequest::DriverDefault => Self { count: None }, |
| 43 | } |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | /// Resolve the gateway name to a [`GatewayContext`] with the gateway endpoint. |
no outgoing calls
no test coverage detected