Method: ComputeUnit::AmdGpu#memory_clock
- Defined in:
- lib/compute_unit/gpus/amd_gpu.rb
#memory_clock ⇒ Integer
Returns - the memory speed.
123 124 125 126 127 |
# File 'lib/compute_unit/gpus/amd_gpu.rb', line 123 def memory_clock data = read_kernel_setting('pp_dpm_mclk', '').split("\n") item = data.find { |d| d.include?('*') } item.nil? ? item : item.match(/\d{2,6}/).to_a.first.to_i end |