Set virtual GPUs to work when ADL is disabled or all mining will occur on GPU 0.
diff --git a/main.c b/main.c
index 0179b8e..4ddcd07 100644
--- a/main.c
+++ b/main.c
@@ -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)