Fix OpenCL.
This commit is contained in:
parent
45412a2ace
commit
2911bb3a81
6 changed files with 15 additions and 105 deletions
|
@ -56,10 +56,7 @@ xmrig::OclRxBaseRunner::OclRxBaseRunner(size_t index, const OclLaunchData &data)
|
|||
m_gcn_version = 14;
|
||||
}
|
||||
|
||||
// rx/sfx is the same as rx/0 except Argon salt for dataset generation
|
||||
Algorithm::Id id = (m_algorithm.id() == Algorithm::RX_SFX) ? Algorithm::RX_0 : m_algorithm.id();
|
||||
|
||||
m_options += " -DALGO=" + std::to_string(id);
|
||||
m_options += " -DALGO=" + std::to_string(RxAlgo::id(m_algorithm));
|
||||
m_options += " -DWORKERS_PER_HASH=" + std::to_string(m_worksize);
|
||||
m_options += " -DGCN_VERSION=" + std::to_string(m_gcn_version);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue