Added OclDevice and partially autoconfig.
This commit is contained in:
parent
166a68244e
commit
ed7216575c
16 changed files with 697 additions and 100 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue