Added autoconfig stub for RandomX.
This commit is contained in:
parent
ad7141fe21
commit
046eb4d9fd
6 changed files with 137 additions and 36 deletions
|
@ -66,6 +66,22 @@ public:
|
|||
}
|
||||
# endif
|
||||
|
||||
# ifdef XMRIG_ALGO_RANDOMX
|
||||
OclThread(uint32_t index, uint32_t intensity, uint32_t worksize, uint32_t threads, bool gcnAsm, bool datasetHost, uint32_t bfactor) :
|
||||
m_datasetHost(datasetHost),
|
||||
m_gcnAsm(gcnAsm),
|
||||
m_fields(2),
|
||||
m_threads(threads, -1),
|
||||
m_bfactor(bfactor),
|
||||
m_index(index),
|
||||
m_memChunk(0),
|
||||
m_stridedIndex(0),
|
||||
m_worksize(worksize)
|
||||
{
|
||||
setIntensity(intensity);
|
||||
}
|
||||
# endif
|
||||
|
||||
OclThread(const rapidjson::Value &value);
|
||||
|
||||
inline bool isAsm() const { return m_gcnAsm; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue