summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/minethd.cpp
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-10-24 23:22:28 +0200
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-10-24 23:22:28 +0200
commit8888a608987c85870a99bfa99bd6980018288666 (patch)
tree1d61261de24917fd46e74d91690cc70d06958052 /xmrstak/backend/amd/minethd.cpp
parent712f7b7bdb02d05aaffc5f70817aeb1edd17a2b3 (diff)
downloadxmr-stak-8888a608987c85870a99bfa99bd6980018288666.zip
xmr-stak-8888a608987c85870a99bfa99bd6980018288666.tar.gz
amd: use 64bit target
- remove 32bit target value - use always 64bit target for amd backend
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