Preparation for #1.4.0 (#30)
- Fixed CPU affinity on Windows for NUMA and CPUs with lot of cores - Implemented per thread configurable Multihash mode (double, triple, quadruple, quintuple) - Rebased from XMRig 2.4.4
This commit is contained in:
parent
5f8ea98764
commit
acf27e9341
41 changed files with 2575 additions and 1104 deletions
|
@ -67,6 +67,7 @@ App::App(int argc, char **argv) :
|
|||
m_self = this;
|
||||
|
||||
Cpu::init();
|
||||
|
||||
m_options = Options::parse(argc, argv);
|
||||
if (!m_options) {
|
||||
return;
|
||||
|
@ -137,12 +138,13 @@ int App::start()
|
|||
|
||||
background();
|
||||
|
||||
if (!CryptoNight::init(m_options->algo(), m_options->algoVariant())) {
|
||||
if (!CryptoNight::init(m_options->algo(), m_options->aesni())) {
|
||||
LOG_ERR("\"%s\" hash self-test failed.", m_options->algoName());
|
||||
return EINVAL;
|
||||
}
|
||||
|
||||
Mem::allocate(m_options);
|
||||
|
||||
Summary::print();
|
||||
|
||||
# ifndef XMRIG_NO_API
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue