summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2017-10-12 00:23:20 +0100
committerfireice-uk <fireice-uk@users.noreply.github.com>2017-10-12 00:23:20 +0100
commit632d0758d254c36cccf1d982ed763d39d2509a59 (patch)
treef962718af91a0b578b391610ee931dde01a25300 /xmrstak/backend
parentb40f937bf592f3fb303ce51fc073ab6ee9f922d0 (diff)
downloadxmr-stak-632d0758d254c36cccf1d982ed763d39d2509a59.zip
xmr-stak-632d0758d254c36cccf1d982ed763d39d2509a59.tar.gz
remove the gpu_thread_num safety
Diffstat (limited to 'xmrstak/backend')
-rw-r--r--xmrstak/backend/amd/autoAdjust.hpp1
-rw-r--r--xmrstak/backend/amd/config.tpl6
2 files changed, 0 insertions, 7 deletions
diff --git a/xmrstak/backend/amd/autoAdjust.hpp b/xmrstak/backend/amd/autoAdjust.hpp
index ebe59df..2a22a08 100644
--- a/xmrstak/backend/amd/autoAdjust.hpp
+++ b/xmrstak/backend/amd/autoAdjust.hpp
@@ -105,7 +105,6 @@ private:
}
configTpl.replace("PLATFORMINDEX",std::to_string(platformIndex));
- configTpl.replace("NUMGPUS",std::to_string(devVec.size()));
configTpl.replace("GPUCONFIG",conf);
configTpl.write(params::inst().configFileAMD);
printer::inst()->print_msg(L0, "AMD: GPU configuration stored in file '%s'", params::inst().configFileAMD.c_str());
diff --git a/xmrstak/backend/amd/config.tpl b/xmrstak/backend/amd/config.tpl
index b8b6dc4..a93859c 100644
--- a/xmrstak/backend/amd/config.tpl
+++ b/xmrstak/backend/amd/config.tpl
@@ -1,10 +1,4 @@
R"===(
-
-/*
- * Number of GPUs that you have in your system. Each GPU will get its own CPU thread.
- */
-"gpu_thread_num" : NUMGPUS,
-
/*
* GPU configuration. You should play around with intensity and worksize as the fastest settings will vary.
* index - GPU index number usually starts from 0
OpenPOWER on IntegriCloud