mirror of
https://github.com/xmrig/xmrig.git
synced 2026-01-27 08:02:54 -05:00
Added OclDevice and partially autoconfig.
This commit is contained in:
@@ -44,16 +44,6 @@ xmrig::OclThreads::OclThreads(const rapidjson::Value &value)
|
||||
}
|
||||
|
||||
|
||||
xmrig::OclThreads::OclThreads(size_t count, int intensity)
|
||||
{
|
||||
m_data.reserve(count);
|
||||
|
||||
for (size_t i = 0; i < count; ++i) {
|
||||
add(-1, intensity);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
rapidjson::Value xmrig::OclThreads::toJSON(rapidjson::Document &doc) const
|
||||
{
|
||||
using namespace rapidjson;
|
||||
|
||||
Reference in New Issue
Block a user