Implement RandomX Veil mining
This commit is contained in:
parent
56c95703a5
commit
69f9c30c64
9 changed files with 82 additions and 14 deletions
|
@ -76,11 +76,13 @@ xmrig::OclWorker::OclWorker(size_t id, const OclLaunchData &data) :
|
|||
switch (m_algorithm.family()) {
|
||||
case Algorithm::RANDOM_X:
|
||||
# ifdef XMRIG_ALGO_RANDOMX
|
||||
if (data.thread.isAsm() && data.device.vendorId() == OCL_VENDOR_AMD) {
|
||||
m_runner = new OclRxJitRunner(id, data);
|
||||
}
|
||||
else {
|
||||
m_runner = new OclRxVmRunner(id, data);
|
||||
if (m_algorithm.id() != Algorithm::RX_VEIL) {
|
||||
if (data.thread.isAsm() && data.device.vendorId() == OCL_VENDOR_AMD) {
|
||||
m_runner = new OclRxJitRunner(id, data);
|
||||
}
|
||||
else {
|
||||
m_runner = new OclRxVmRunner(id, data);
|
||||
}
|
||||
}
|
||||
# endif
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue