Skip to content
Snippets Groups Projects
Commit 010cbd98 authored by psychocrypt's avatar psychocrypt
Browse files

cpu: fix missing `asm` autoadjust

In the auto adjust without hwlock the asm entry was missing
parent 5db405c2
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ public:
if(L3KB_size < halfHashMemSizeKB || L3KB_size > (halfHashMemSizeKB * 2048))
printer::inst()->print_msg(L0, "Autoconf failed: L3 size sanity check failed - %u KB.", L3KB_size);
conf += std::string(" { \"low_power_mode\" : false, \"no_prefetch\" : true, \"affine_to_cpu\" : false },\n");
conf += std::string(" { \"low_power_mode\" : false, \"no_prefetch\" : true, \"asm\" : \"off\", \"affine_to_cpu\" : false },\n");
printer::inst()->print_msg(L0, "Autoconf FAILED. Create config for a single thread. Please try to add new ones until the hashrate slows down.");
}
else
......
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