Skip to content
Snippets Groups Projects
Commit 36d78b48 authored by psychocrypt's avatar psychocrypt
Browse files

fix auto suggestion for low end devices

Increase bfactor for all devices with lesser than 6 multi processors.
parent 463ec3c1
No related branches found
No related tags found
No related merge requests found
......@@ -380,6 +380,10 @@ extern "C" int cuda_get_deviceinfo(nvid_ctx* ctx)
*/
ctx->device_blocks = props.multiProcessorCount *
( props.major < 3 ? 2 : 3 );
// increase bfactor for low end devices to avoid that the miner is killed by the OS
if(props.multiProcessorCount < 6)
ctx->device_bfactor += 2;
}
if(ctx->device_threads == -1)
{
......
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