Fixed auto configuration without hwloc.

This commit is contained in:
XMRig 2019-08-09 12:51:27 +07:00
parent be251a2ec1
commit 4583d979db
4 changed files with 46 additions and 7 deletions

View file

@ -42,6 +42,7 @@ public:
inline CpuThreads(size_t count) : m_data(count) {}
CpuThreads(const rapidjson::Value &value);
CpuThreads(size_t count, int intensity);
inline bool isEmpty() const { return m_data.empty(); }
inline const std::vector<CpuThread> &data() const { return m_data; }