Method: ComputeUnit::AmdGpu#asic_temp

Defined in:
lib/compute_unit/gpus/amd_gpu.rb

#asic_tempInteger

Returns - the temperature of the asic chip.

Returns:

  • (Integer)
    • the temperature of the asic chip



94
95
96
# File 'lib/compute_unit/gpus/amd_gpu.rb', line 94

def asic_temp
  read_hwmon_data('temp2_input', 0).to_i / 1000
end