mirror of
https://github.com/wownero/wownero.git
synced 2026-10-25 10:28:33 +01:00
Miner: fixed thread 0 always mining with secure JIT (worse performance)
This commit is contained in:
@@ -580,7 +580,8 @@ namespace cryptonote
|
|||||||
|
|
||||||
if ((b.major_version >= RX_BLOCK_VERSION) && !rx_set)
|
if ((b.major_version >= RX_BLOCK_VERSION) && !rx_set)
|
||||||
{
|
{
|
||||||
crypto::rx_set_miner_thread(th_local_index, tools::get_max_concurrency());
|
// Must be non-zero value because 0 means "not a miner thread, run with secure JIT" in rx-slow-hash.c
|
||||||
|
crypto::rx_set_miner_thread(th_local_index + 1, tools::get_max_concurrency());
|
||||||
rx_set = true;
|
rx_set = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user