summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/cpu
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2017-11-13 20:17:08 +0000
committerGitHub <noreply@github.com>2017-11-13 20:17:08 +0000
commitb1645f6e26a7f1d0d907b4911ddf4ac6bc933166 (patch)
tree330ee4c2b2c3f840ac8457ee08ee0f3030680e28 /xmrstak/backend/cpu
parentb63593379e31f57aa10346aa831770fc9359a620 (diff)
parentb0a9ddc1a1e4a5ab1e46a19be4720e90ab1f9bbe (diff)
downloadxmr-stak-b1645f6e26a7f1d0d907b4911ddf4ac6bc933166.zip
xmr-stak-b1645f6e26a7f1d0d907b4911ddf4ac6bc933166.tar.gz
Merge pull request #104 from psychocrypt/topic-hashrateReportCli
improve cli hash report
Diffstat (limited to 'xmrstak/backend/cpu')
-rw-r--r--xmrstak/backend/cpu/minethd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmrstak/backend/cpu/minethd.cpp b/xmrstak/backend/cpu/minethd.cpp
index d36ebf1..8b913cf 100644
--- a/xmrstak/backend/cpu/minethd.cpp
+++ b/xmrstak/backend/cpu/minethd.cpp
@@ -94,6 +94,7 @@ bool minethd::thd_setaffinity(std::thread::native_handle_type h, uint64_t cpu_id
minethd::minethd(miner_work& pWork, size_t iNo, bool double_work, bool no_prefetch, int64_t affinity)
{
+ this->backendType = iBackend::CPU;
oWork = pWork;
bQuit = 0;
iThreadNo = (uint8_t)iNo;
OpenPOWER on IntegriCloud