mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-18 00:37:46 +00:00
Added additional MSR registers for Ryzen CPUs.
This commit is contained in:
parent
c62ac89081
commit
7ff465053b
1 changed files with 2 additions and 0 deletions
|
@ -119,6 +119,8 @@ void xmrig::Rx::osInit(const RxConfig &config)
|
|||
if (Cpu::info()->assembly() == Assembly::RYZEN && wrmsr_modprobe()) {
|
||||
wrmsr_on_all_cpus(0xC0011022, 0x510000);
|
||||
wrmsr_on_all_cpus(0xC001102b, 0x1808cc16);
|
||||
wrmsr_on_all_cpus(0xC0011020, 0);
|
||||
wrmsr_on_all_cpus(0xC0011021, 0x40);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue