diff options
author | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-10-24 23:22:28 +0200 |
---|---|---|
committer | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-10-24 23:22:28 +0200 |
commit | 8888a608987c85870a99bfa99bd6980018288666 (patch) | |
tree | 1d61261de24917fd46e74d91690cc70d06958052 /xmrstak/backend/miner_work.hpp | |
parent | 712f7b7bdb02d05aaffc5f70817aeb1edd17a2b3 (diff) | |
download | xmr-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/miner_work.hpp')
-rw-r--r-- | xmrstak/backend/miner_work.hpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/xmrstak/backend/miner_work.hpp b/xmrstak/backend/miner_work.hpp index 6b5720c..4bfe429 100644 --- a/xmrstak/backend/miner_work.hpp +++ b/xmrstak/backend/miner_work.hpp @@ -16,8 +16,6 @@ namespace xmrstak uint8_t bWorkBlob[112]; uint32_t iWorkSize; uint64_t iTarget; - // \todo remove workaround needed for amd - uint32_t iTarget32; bool bNiceHash; bool bStall; size_t iPoolId; @@ -41,7 +39,6 @@ namespace xmrstak iWorkSize = from.iWorkSize; iTarget = from.iTarget; - iTarget32 = from.iTarget32; bNiceHash = from.bNiceHash; bStall = from.bStall; iPoolId = from.iPoolId; @@ -53,7 +50,7 @@ namespace xmrstak return *this; } - miner_work(miner_work&& from) : iWorkSize(from.iWorkSize), iTarget(from.iTarget),iTarget32(from.iTarget32), + miner_work(miner_work&& from) : iWorkSize(from.iWorkSize), iTarget(from.iTarget), bStall(from.bStall), iPoolId(from.iPoolId) { assert(iWorkSize <= sizeof(bWorkBlob)); @@ -67,7 +64,6 @@ namespace xmrstak iWorkSize = from.iWorkSize; iTarget = from.iTarget; - iTarget32 = from.iTarget32; bNiceHash = from.bNiceHash; bStall = from.bStall; iPoolId = from.iPoolId; |