Added CudaLib stub.

This commit is contained in:
XMRig 2019-10-25 16:46:49 +07:00
parent 0fc215c457
commit ec717f27b5
8 changed files with 326 additions and 38 deletions

View file

@ -43,6 +43,7 @@ public:
inline bool isEnabled() const { return m_enabled; }
inline bool isShouldSave() const { return m_shouldSave; }
inline const String &loader() const { return m_loader; }
inline const Threads<CudaThreads> &threads() const { return m_threads; }
private:
@ -52,6 +53,7 @@ private:
bool m_enabled = false;
bool m_shouldSave = false;
std::vector<uint32_t> m_devicesHint;
String m_loader;
Threads<CudaThreads> m_threads;
};