mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 20:19:23 +00:00
Fix GCC warning
This commit is contained in:
parent
5efd00abec
commit
ac46d6f8de
1 changed files with 2 additions and 0 deletions
|
@ -244,7 +244,9 @@ namespace randomx {
|
||||||
switch (arch) {
|
switch (arch) {
|
||||||
case xmrig::ICpuInfo::ARCH_ZEN:
|
case xmrig::ICpuInfo::ARCH_ZEN:
|
||||||
case xmrig::ICpuInfo::ARCH_ZEN_PLUS:
|
case xmrig::ICpuInfo::ARCH_ZEN_PLUS:
|
||||||
|
default:
|
||||||
// AVX2 init is slower on Zen/Zen+
|
// AVX2 init is slower on Zen/Zen+
|
||||||
|
// Also disable it for other unknown architectures
|
||||||
initDatasetAVX2 = false;
|
initDatasetAVX2 = false;
|
||||||
break;
|
break;
|
||||||
case xmrig::ICpuInfo::ARCH_ZEN2:
|
case xmrig::ICpuInfo::ARCH_ZEN2:
|
||||||
|
|
Loading…
Reference in a new issue