1
0
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:
XMRig
2019-08-22 22:39:36 +07:00
parent 166a68244e
commit ed7216575c
16 changed files with 697 additions and 100 deletions

View File

@@ -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;