18321: Incorporate CUDA request into picking a node type
[arvados.git] / sdk / go / arvados / config.go
index 474ce33b0ee4e9b2262bbe1b16f9ed36c0c2af38..3111d61403085c5108f72e901ddbe9fcfc8e4ad3 100644 (file)
@@ -410,6 +410,12 @@ type RemoteCluster struct {
        ActivateUsers bool
 }
 
+type CUDAFeatures struct {
+       DriverVersion      string
+       HardwareCapability string
+       DeviceCount        int
+}
+
 type InstanceType struct {
        Name            string
        ProviderType    string
@@ -420,6 +426,7 @@ type InstanceType struct {
        AddedScratch    ByteSize
        Price           float64
        Preemptible     bool
+       CUDA            CUDAFeatures
 }
 
 type ContainersConfig struct {