Added command line option --opencl.

This commit is contained in:
XMRig 2019-09-24 03:14:35 +07:00
parent 5f948d0d96
commit 2604705bab
7 changed files with 691 additions and 3 deletions

View file

@ -42,6 +42,7 @@ private:
void transformBoolean(rapidjson::Document &doc, int key, bool enable);
void transformUint64(rapidjson::Document &doc, int key, uint64_t arg);
bool m_opencl = false;
int64_t m_affinity = -1;
uint64_t m_intensity = 1;
uint64_t m_threads = 0;