NeedsGPUCountPhase reports whether the GPU type supports multiple GPU counts.
(gpuType string)
| 147 | |
| 148 | // NeedsGPUCountPhase reports whether the GPU type supports multiple GPU counts. |
| 149 | func (s *SpecStore) NeedsGPUCountPhase(gpuType string) bool { |
| 150 | return len(s.GPUCounts(gpuType)) > 1 |
| 151 | } |
| 152 | |
| 153 | // IncludedVCPUs returns the minimum (included) vCPU count for a configuration. |
| 154 | func (s *SpecStore) IncludedVCPUs(gpuType string, numGPUs int) int { |