Class: Google::Cloud::Container::V1beta1::GPUSharingConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1beta1/cluster_service.rb

Overview

GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators.

Defined Under Namespace

Modules: GPUSharingStrategy

Instance Attribute Summary collapse

Instance Attribute Details

#gpu_sharing_strategy::Google::Cloud::Container::V1beta1::GPUSharingConfig::GPUSharingStrategy

Returns The type of GPU sharing strategy to enable on the GPU node.

Returns:



3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3775

class GPUSharingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of GPU sharing strategy currently provided.
  module GPUSharingStrategy
    # Default value.
    GPU_SHARING_STRATEGY_UNSPECIFIED = 0

    # GPUs are time-shared between containers.
    TIME_SHARING = 1
  end
end

#max_shared_clients_per_gpu::Integer

Returns The max number of containers that can share a physical GPU.

Returns:

  • (::Integer)

    The max number of containers that can share a physical GPU.



3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3775

class GPUSharingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of GPU sharing strategy currently provided.
  module GPUSharingStrategy
    # Default value.
    GPU_SHARING_STRATEGY_UNSPECIFIED = 0

    # GPUs are time-shared between containers.
    TIME_SHARING = 1
  end
end