HWLOCK fix
This commit is contained in:
parent
97e81f2cba
commit
93690985f4
1 changed files with 4 additions and 0 deletions
|
@ -315,7 +315,11 @@ xmrig::RxDataset *xmrig::Rx::dataset(const Job &job, uint32_t nodeId)
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
#ifdef XMRIG_FEATURE_HWLOC
|
||||
return d_ptr->datasets.at(d_ptr->isNUMA() ? (d_ptr->datasets.count(nodeId) ? nodeId : HwlocCpuInfo::nodeIndexes().front()) : 0);
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue