Class CfnFleet.AcceleratorSelectionProperty
Describes a specific GPU accelerator required for an Amazon Elastic Compute Cloud worker host.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Deadline
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFleet.AcceleratorSelectionProperty : CfnFleet.IAcceleratorSelectionProperty
Syntax (vb)
Public Class CfnFleet.AcceleratorSelectionProperty Implements CfnFleet.IAcceleratorSelectionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Deadline;
var acceleratorSelectionProperty = new AcceleratorSelectionProperty {
Name = "name",
// the properties below are optional
Runtime = "runtime"
};
Synopsis
Constructors
| AcceleratorSelectionProperty() | Describes a specific GPU accelerator required for an Amazon Elastic Compute Cloud worker host. |
Properties
| Name | The name of the chip used by the GPU accelerator. |
| Runtime | Specifies the runtime driver to use for the GPU accelerator. You must use the same runtime for all GPUs. |
Constructors
AcceleratorSelectionProperty()
Describes a specific GPU accelerator required for an Amazon Elastic Compute Cloud worker host.
public AcceleratorSelectionProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Deadline;
var acceleratorSelectionProperty = new AcceleratorSelectionProperty {
Name = "name",
// the properties below are optional
Runtime = "runtime"
};
Properties
Name
The name of the chip used by the GPU accelerator.
public string Name { get; set; }
Property Value
Remarks
If you specify l4 as the name of the accelerator, you must specify latest or grid:r570 as the runtime.
The available GPU accelerators are:
Runtime
Specifies the runtime driver to use for the GPU accelerator. You must use the same runtime for all GPUs.
public string? Runtime { get; set; }
Property Value
Remarks
You can choose from the following runtimes:
If you don't specify a runtime, AWS Deadline Cloud uses latest as the default. However, if you have multiple accelerators and specify latest for some and leave others blank, AWS Deadline Cloud raises an exception.