Skip to content
Snippets Groups Projects
Commit 915c868a authored by psychocrypt's avatar psychocrypt
Browse files

disbale CUDA backend for cryptonight_v8

parent cac26b96
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,13 @@ std::vector<iBackend*>* minethd::thread_starter(uint32_t threadOffset, miner_wor
{
std::vector<iBackend*>* pvThreads = new std::vector<iBackend*>();
auto miner_algo = ::jconf::inst()->GetCurrentCoinSelection().GetDescription(1).GetMiningAlgoRoot();
if(miner_algo == cryptonight_monero_v8)
{
std::cerr<<"ERROR: The CUDA backend is currently not supporting cryptonight_v8, please use `--openCLVendor NVIDIA` instead."<<std::endl;
return pvThreads;
}
if(!configEditor::file_exist(params::inst().configFileNVIDIA))
{
autoAdjust adjust;
......
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