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
- (::Google::Cloud::Container::V1::GPUSharingConfig::GPUSharingStrategy) — The type of GPU sharing strategy to enable on the GPU node.
#gpu_sharing_strategy=
def gpu_sharing_strategy=(value) -> ::Google::Cloud::Container::V1::GPUSharingConfig::GPUSharingStrategy
Parameter
- value (::Google::Cloud::Container::V1::GPUSharingConfig::GPUSharingStrategy) — The type of GPU sharing strategy to enable on the GPU node.
Returns
- (::Google::Cloud::Container::V1::GPUSharingConfig::GPUSharingStrategy) — The type of GPU sharing strategy to enable on the GPU node.
#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.