summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/minethd.cpp
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2017-10-27 15:07:48 +0100
committerGitHub <noreply@github.com>2017-10-27 15:07:48 +0100
commit847831e5f11a31bf2b04bc737534b08d1bb18e91 (patch)
tree1d61261de24917fd46e74d91690cc70d06958052 /xmrstak/backend/amd/minethd.cpp
parent712f7b7bdb02d05aaffc5f70817aeb1edd17a2b3 (diff)
parent8888a608987c85870a99bfa99bd6980018288666 (diff)
downloadxmr-stak-847831e5f11a31bf2b04bc737534b08d1bb18e91.zip
xmr-stak-847831e5f11a31bf2b04bc737534b08d1bb18e91.tar.gz
Merge pull request #68 from psychocrypt/topic-amdUse64bitTarget
amd: use 64bit target
Diffstat (limited to 'xmrstak/backend/amd/minethd.cpp')
-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 9d18860..4cbac6d 100644
--- a/xmrstak/backend/amd/minethd.cpp
+++ b/xmrstak/backend/amd/minethd.cpp
@@ -191,7 +191,7 @@ void minethd::work_main()
size_t round_ctr = 0;
assert(sizeof(job_result::sJobID) == sizeof(pool_job::sJobID));
- uint32_t target = oWork.iTarget32;
+ uint64_t target = oWork.iTarget;
XMRSetJob(pGpuCtx, oWork.bWorkBlob, oWork.iWorkSize, target);
if(oWork.bNiceHash)
OpenPOWER on IntegriCloud