Module Values_0.GpuDeviceInfoSource

Describes the GPU accelerators for the instance type.

Sourcetype nonrec t = {
  1. name : GpuDeviceName.t option;
    (*

    The name of the GPU accelerator.

    *)
  2. manufacturer : GpuDeviceManufacturerName.t option;
    (*

    The manufacturer of the GPU accelerator.

    *)
  3. count : GpuDeviceCount.t option;
    (*

    The number of GPUs for the instance type.

    *)
  4. logicalGpuCount : LogicalGpuCount.t option;
    (*

    Total number of GPU devices of this type.

    *)
  5. gpuPartitionSize : GpuPartitionSize.t option;
    (*

    The size of each GPU as a fraction of a full GPU, between 0 (excluded) and 1 (included).

    *)
  6. workloads : WorkloadsList.t option;
    (*

    A list of workload types this GPU supports.

    *)
  7. memoryInfo : GpuDeviceMemoryInfo.t option;
    (*

    Describes the memory available to the GPU accelerator.

    *)
}
Sourceval make : ?name:??? -> ?manufacturer:??? -> ?count:??? -> ?logicalGpuCount:??? -> ?gpuPartitionSize:??? -> ?workloads:??? -> ?memoryInfo:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of GpuPartitionSize.t | `Integer of GpuDeviceCount.t | `List of [> `String of Workload.t ] list | `String of GpuDeviceName.t | `Structure of (string * [> `Integer of GpuDeviceMemorySize.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t