Method: ComputeUnit::Gpu#status_info

Defined in:
lib/compute_unit/gpu.rb

#status_infoHash

Returns - hash of hardware status about the gpu.

Returns:

  • (Hash)
    • hash of hardware status about the gpu



185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
# File 'lib/compute_unit/gpu.rb', line 185

def status_info
  {
    index: "#{device_class_name}#{index}",
    name: name,
    bios: bios,
    core_clock: core_clock,
    memory_clock: memory_clock,
    power: power,
    fan: fan,
    core_volt: core_voltage,
    temp: temp,
    mem_temp: mem_temp,
    status: status
  }
end