summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/nvidia/minethd.cpp
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2017-12-07 21:18:26 +0000
committerGitHub <noreply@github.com>2017-12-07 21:18:26 +0000
commit28fc6b475668041bd12f21dd2eec798dbb388111 (patch)
treeaede8a17283a2aabcece02ed63e3a16569edb0b6 /xmrstak/backend/nvidia/minethd.cpp
parent035c824258f678a6865c69ef1a8b769549937662 (diff)
parent4dca64c1a9ffcb506ad81720951f7536b70e394e (diff)
downloadxmr-stak-28fc6b475668041bd12f21dd2eec798dbb388111.zip
xmr-stak-28fc6b475668041bd12f21dd2eec798dbb388111.tar.gz
Merge pull request #313 from psychocrypt/topic-deviceSynchronizeMethod
option to controll gpu synchronization
Diffstat (limited to 'xmrstak/backend/nvidia/minethd.cpp')
-rw-r--r--xmrstak/backend/nvidia/minethd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmrstak/backend/nvidia/minethd.cpp b/xmrstak/backend/nvidia/minethd.cpp
index 9eab1c0..6e628fd 100644
--- a/xmrstak/backend/nvidia/minethd.cpp
+++ b/xmrstak/backend/nvidia/minethd.cpp
@@ -77,6 +77,7 @@ minethd::minethd(miner_work& pWork, size_t iNo, const jconf::thd_cfg& cfg)
ctx.device_threads = (int)cfg.threads;
ctx.device_bfactor = (int)cfg.bfactor;
ctx.device_bsleep = (int)cfg.bsleep;
+ ctx.syncMode = cfg.syncMode;
this->affinity = cfg.cpu_aff;
std::unique_lock<std::mutex> lck(thd_aff_set);
OpenPOWER on IntegriCloud