1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-04 19:14:26 +00:00

Set virtual GPUs to work when ADL is disabled or all mining will occur on GPU 0.

This commit is contained in:
Con Kolivas 2012-01-30 22:38:57 +11:00
parent 2edc3a650c
commit 31a32e0789

1
main.c
View File

@ -5587,6 +5587,7 @@ static void opencl_detect()
cgpu->api = &opencl_api;
cgpu->device_id = i;
cgpu->threads = opt_g_threads;
cgpu->virtual_gpu = i;
}
if (!opt_noadl)