Method: ComputeUnit::AmdGpu#model

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

#modelString

Returns - the name of the device model (specific name).

Returns:

  • (String)
    • the name of the device model (specific name)



83
84
85
86
87
# File 'lib/compute_unit/gpus/amd_gpu.rb', line 83

def model
  @model ||= begin
    board_name || sysfs_model_name
  end
end