Fixed wrong OpenCL platform on macOS.
This commit is contained in:
parent
5e444553b1
commit
311d3e1c18
3 changed files with 29 additions and 8 deletions
|
@ -58,16 +58,20 @@ public:
|
|||
private:
|
||||
void generate();
|
||||
void setDevicesHint(const char *devicesHint);
|
||||
void setPlatform(const rapidjson::Value &platform);
|
||||
|
||||
bool m_cache = true;
|
||||
bool m_enabled = false;
|
||||
bool m_shouldSave = false;
|
||||
std::vector<uint32_t> m_devicesHint;
|
||||
String m_loader;
|
||||
String m_platformVendor;
|
||||
Threads<OclThreads> m_threads;
|
||||
|
||||
# ifndef XMRIG_OS_APPLE
|
||||
void setPlatform(const rapidjson::Value &platform);
|
||||
|
||||
String m_platformVendor;
|
||||
uint32_t m_platformIndex = 0;
|
||||
# endif
|
||||
|
||||
# ifdef XMRIG_FEATURE_ADL
|
||||
bool m_adl = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue