Skip to content
Snippets Groups Projects
Commit 632d0758 authored by fireice-uk's avatar fireice-uk
Browse files

remove the gpu_thread_num safety

parent b40f937b
No related branches found
No related tags found
No related merge requests found
...@@ -105,7 +105,6 @@ private: ...@@ -105,7 +105,6 @@ private:
} }
configTpl.replace("PLATFORMINDEX",std::to_string(platformIndex)); configTpl.replace("PLATFORMINDEX",std::to_string(platformIndex));
configTpl.replace("NUMGPUS",std::to_string(devVec.size()));
configTpl.replace("GPUCONFIG",conf); configTpl.replace("GPUCONFIG",conf);
configTpl.write(params::inst().configFileAMD); configTpl.write(params::inst().configFileAMD);
printer::inst()->print_msg(L0, "AMD: GPU configuration stored in file '%s'", params::inst().configFileAMD.c_str()); printer::inst()->print_msg(L0, "AMD: GPU configuration stored in file '%s'", params::inst().configFileAMD.c_str());
......
R"===( 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. * GPU configuration. You should play around with intensity and worksize as the fastest settings will vary.
* index - GPU index number usually starts from 0 * index - GPU index number usually starts from 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment