AstroBWT OpenCL code
This commit is contained in:
parent
50eb7ba2fd
commit
fbedf197ab
34 changed files with 2106 additions and 6 deletions
|
@ -123,7 +123,9 @@ rapidjson::Value xmrig::OclThread::toJSON(rapidjson::Document &doc) const
|
|||
|
||||
out.AddMember(StringRef(kIndex), index(), allocator);
|
||||
out.AddMember(StringRef(kIntensity), intensity(), allocator);
|
||||
out.AddMember(StringRef(kWorksize), worksize(), allocator);
|
||||
if (!m_fields.test(ASTROBWT_FIELDS)) {
|
||||
out.AddMember(StringRef(kWorksize), worksize(), allocator);
|
||||
}
|
||||
|
||||
if (m_fields.test(STRIDED_INDEX_FIELD)) {
|
||||
Value si(kArrayType);
|
||||
|
@ -149,7 +151,7 @@ rapidjson::Value xmrig::OclThread::toJSON(rapidjson::Document &doc) const
|
|||
out.AddMember(StringRef(kDatasetHost), isDatasetHost(), allocator);
|
||||
# endif
|
||||
}
|
||||
else {
|
||||
else if (!m_fields.test(ASTROBWT_FIELDS)) {
|
||||
out.AddMember(StringRef(kUnroll), unrollFactor(), allocator);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue