Added ADL support for Windows.
This commit is contained in:
parent
264e3928c2
commit
56f23db878
14 changed files with 6395 additions and 83 deletions
|
@ -5,8 +5,8 @@
|
|||
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
||||
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
|
||||
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
||||
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
||||
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
||||
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
||||
* Copyright 2016-2020 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -51,6 +51,10 @@ public:
|
|||
inline const String &loader() const { return m_loader; }
|
||||
inline const Threads<OclThreads> &threads() const { return m_threads; }
|
||||
|
||||
# ifdef XMRIG_FEATURE_ADL
|
||||
inline bool isAdlEnabled() const { return m_adl; }
|
||||
# endif
|
||||
|
||||
private:
|
||||
void generate();
|
||||
void setDevicesHint(const char *devicesHint);
|
||||
|
@ -64,6 +68,10 @@ private:
|
|||
String m_platformVendor;
|
||||
Threads<OclThreads> m_threads;
|
||||
uint32_t m_platformIndex = 0;
|
||||
|
||||
# ifdef XMRIG_FEATURE_ADL
|
||||
bool m_adl = true;
|
||||
# endif
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue