Class AcceleratorConfig (3.1.0)

public sealed class AcceleratorConfig : IMessage<AcceleratorConfig>, IEquatable<AcceleratorConfig>, IDeepCloneable<AcceleratorConfig>, IBufferMessage, IMessage

AcceleratorConfig represents a Hardware Accelerator request.

Inheritance

Object > AcceleratorConfig

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

AcceleratorConfig()

public AcceleratorConfig()

AcceleratorConfig(AcceleratorConfig)

public AcceleratorConfig(AcceleratorConfig other)
Parameter
NameDescription
otherAcceleratorConfig

Properties

AcceleratorCount

public long AcceleratorCount { get; set; }

The number of the accelerator cards exposed to an instance.

Property Value
TypeDescription
Int64

AcceleratorType

public string AcceleratorType { get; set; }

The accelerator type resource name. List of supported accelerators here

Property Value
TypeDescription
String

GpuPartitionSize

public string GpuPartitionSize { get; set; }

Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide.

Property Value
TypeDescription
String

GpuSharingConfig

public GPUSharingConfig GpuSharingConfig { get; set; }

The configuration for GPU sharing options.

Property Value
TypeDescription
GPUSharingConfig