Class: Aws::RoboMaker::Types::Compute

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb

Overview

Note:

When making an API call, you may pass Compute data as a hash:

{
  simulation_unit_limit: 1,
  compute_type: "CPU", # accepts CPU, GPU_AND_CPU
  gpu_unit_limit: 1,
}

Compute information for the simulation job.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#compute_typeString

Compute type information for the simulation job.

Returns:

  • (String)


267
268
269
270
271
272
273
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 267

class Compute < Struct.new(
  :simulation_unit_limit,
  :compute_type,
  :gpu_unit_limit)
  SENSITIVE = []
  include Aws::Structure
end

#gpu_unit_limitInteger

Compute GPU unit limit for the simulation job. It is the same as the number of GPUs allocated to the SimulationJob.

Returns:

  • (Integer)


267
268
269
270
271
272
273
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 267

class Compute < Struct.new(
  :simulation_unit_limit,
  :compute_type,
  :gpu_unit_limit)
  SENSITIVE = []
  include Aws::Structure
end

#simulation_unit_limitInteger

The simulation unit limit. Your simulation is allocated CPU and memory proportional to the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are only billed for the SU utilization you consume up to the maximum value provided. The default is 15.

Returns:

  • (Integer)


267
268
269
270
271
272
273
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 267

class Compute < Struct.new(
  :simulation_unit_limit,
  :compute_type,
  :gpu_unit_limit)
  SENSITIVE = []
  include Aws::Structure
end