Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::GPUSharingConfig (v0.32.0)

Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::GPUSharingConfig.

GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#gpu_sharing_strategy

def gpu_sharing_strategy() -> ::Google::Cloud::Container::V1::GPUSharingConfig::GPUSharingStrategy
Returns

#gpu_sharing_strategy=

def gpu_sharing_strategy=(value) -> ::Google::Cloud::Container::V1::GPUSharingConfig::GPUSharingStrategy
Parameter
Returns

#max_shared_clients_per_gpu

def max_shared_clients_per_gpu() -> ::Integer
Returns
  • (::Integer) — The max number of containers that can share a physical GPU.

#max_shared_clients_per_gpu=

def max_shared_clients_per_gpu=(value) -> ::Integer
Parameter
  • value (::Integer) — The max number of containers that can share a physical GPU.
Returns
  • (::Integer) — The max number of containers that can share a physical GPU.