mirror of
https://github.com/xmrig/xmrig.git
synced 2026-02-01 17:53:03 -05:00
AstroBWT OpenCL code
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user