Interface GpuDeviceInfo.Builder

    • Method Detail

      • name

        GpuDeviceInfo.Builder name​(String name)

        The name of the GPU accelerator.

        Parameters:
        name - The name of the GPU accelerator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • manufacturer

        GpuDeviceInfo.Builder manufacturer​(String manufacturer)

        The manufacturer of the GPU accelerator.

        Parameters:
        manufacturer - The manufacturer of the GPU accelerator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • count

        GpuDeviceInfo.Builder count​(Integer count)

        The number of GPUs for the instance type.

        Parameters:
        count - The number of GPUs for the instance type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logicalGpuCount

        GpuDeviceInfo.Builder logicalGpuCount​(Integer logicalGpuCount)

        Total number of GPU devices of this type.

        Parameters:
        logicalGpuCount - Total number of GPU devices of this type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • gpuPartitionSize

        GpuDeviceInfo.Builder gpuPartitionSize​(Double gpuPartitionSize)

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

        Parameters:
        gpuPartitionSize - The size of each GPU as a fraction of a full GPU, between 0 (excluded) and 1 (included).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • workloads

        GpuDeviceInfo.Builder workloads​(Collection<String> workloads)

        A list of workload types this GPU supports.

        Parameters:
        workloads - A list of workload types this GPU supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • workloads

        GpuDeviceInfo.Builder workloads​(String... workloads)

        A list of workload types this GPU supports.

        Parameters:
        workloads - A list of workload types this GPU supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • memoryInfo

        GpuDeviceInfo.Builder memoryInfo​(GpuDeviceMemoryInfo memoryInfo)

        Describes the memory available to the GPU accelerator.

        Parameters:
        memoryInfo - Describes the memory available to the GPU accelerator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.