summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd
diff options
context:
space:
mode:
authorDoug Johnson <dougvj@gmail.com>2017-12-30 16:49:51 -0700
committerDoug Johnson <dougvj@gmail.com>2017-12-30 16:49:51 -0700
commit16759bc35357e9e981544273c42125de443c18f3 (patch)
treebce13038f7de2e71c7abf3c9f430f42e0a86aab6 /xmrstak/backend/amd
parent2ae7260b90fe3dbe835ba2489519510f0e57d770 (diff)
downloadxmr-stak-16759bc35357e9e981544273c42125de443c18f3.zip
xmr-stak-16759bc35357e9e981544273c42125de443c18f3.tar.gz
Modify invalid result report to show GPU id
Diffstat (limited to 'xmrstak/backend/amd')
-rw-r--r--xmrstak/backend/amd/minethd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmrstak/backend/amd/minethd.cpp b/xmrstak/backend/amd/minethd.cpp
index e83527c..85a48d3 100644
--- a/xmrstak/backend/amd/minethd.cpp
+++ b/xmrstak/backend/amd/minethd.cpp
@@ -245,7 +245,7 @@ void minethd::work_main()
if ( (*((uint64_t*)(bResult + 24))) < oWork.iTarget)
executor::inst()->push_event(ex_event(job_result(oWork.sJobID, results[i], bResult, iThreadNo), oWork.iPoolId));
else
- executor::inst()->push_event(ex_event("AMD Invalid Result", oWork.iPoolId));
+ executor::inst()->push_event(ex_event("AMD Invalid Result", pGpuCtx->deviceIdx, oWork.iPoolId));
}
iCount += pGpuCtx->rawIntensity;
OpenPOWER on IntegriCloud