Method: ComputeUnit::AmdGpu#clock_max_defaults
- Defined in:
- lib/compute_unit/gpus/amd_gpu.rb
#clock_max_defaults ⇒ Array
reading from file “Sclk Limit: 2000 Mhz”, “Mclk Limit: 2250 Mhz”
400 401 402 |
# File 'lib/compute_unit/gpus/amd_gpu.rb', line 400 def clock_max_defaults read_kernel_setting('pp_od_clk_limits', '0 0').scan(/\d+/).map(&:to_i) end |