diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2018-05-04 10:31:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-04 10:31:33 +0100 |
commit | f8e161cf096cb371e204cc35f87ab568b41d819e (patch) | |
tree | 6dc4c795f2bf3fc28f874f2f92473d8c59bf7768 /xmrstak/backend/cpu/minethd.cpp | |
parent | 478a023ff62d1ebccb9547c1a152b7d296c11fb2 (diff) | |
parent | 3cd0bd9543ff26210b571fdb71128a214f091eb9 (diff) | |
download | xmr-stak-f8e161cf096cb371e204cc35f87ab568b41d819e.zip xmr-stak-f8e161cf096cb371e204cc35f87ab568b41d819e.tar.gz |
Merge pull request #1535 from fireice-uk/topic-Spudz76-spellcheck
Spell check
Diffstat (limited to 'xmrstak/backend/cpu/minethd.cpp')
-rw-r--r-- | xmrstak/backend/cpu/minethd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmrstak/backend/cpu/minethd.cpp b/xmrstak/backend/cpu/minethd.cpp index 31ef926..9a45785 100644 --- a/xmrstak/backend/cpu/minethd.cpp +++ b/xmrstak/backend/cpu/minethd.cpp @@ -339,7 +339,7 @@ std::vector<iBackend*> minethd::thread_starter(uint32_t threadOffset, miner_work } else printer::inst()->print_msg(L1, "Starting %dx thread, no affinity.", cfg.iMultiway); - + minethd* thd = new minethd(pWork, i + threadOffset, cfg.iMultiway, cfg.bNoPrefetch, cfg.iCpuAff); pvThreads.push_back(thd); } @@ -599,7 +599,7 @@ minethd::cn_hash_fun_multi minethd::func_multi_selector(size_t N, bool bHaveAes, cryptonight_penta_hash<cryptonight_lite, true, false>, cryptonight_penta_hash<cryptonight_lite, false, true>, cryptonight_penta_hash<cryptonight_lite, true, true>, - + cryptonight_double_hash<cryptonight, false, false>, cryptonight_double_hash<cryptonight, true, false>, cryptonight_double_hash<cryptonight, false, true>, @@ -689,7 +689,7 @@ minethd::cn_hash_fun_multi minethd::func_multi_selector(size_t N, bool bHaveAes, std::bitset<2> digit; digit.set(0, !bHaveAes); digit.set(1, !bNoPrefetch); - + return func_table[algv << 4 | (N-2) << 2 | digit.to_ulong()]; } |