Method: ComputeUnit::AmdGpu#rom_bios
- Defined in:
- lib/compute_unit/gpus/amd_gpu.rb
#rom_bios ⇒ String
sometimes the kernel / driver extracted rom can be incorrect this is the bios gathered from the vbios itself.
29 30 31 32 33 34 35 36 |
# File 'lib/compute_unit/gpus/amd_gpu.rb', line 29 def rom_bios if !/\d{3}-/.match?([2]) logger.warn("Invalid rom bios name for GPU#{index} using alternate name for #{[3]}") [3] elsif /\d{3}-/.match?([2]) [2] end end |