|
|
|
@ -6241,6 +6241,7 @@ static void get_work_prepare_thread(struct thr_info *mythr, struct work *work)
@@ -6241,6 +6241,7 @@ static void get_work_prepare_thread(struct thr_info *mythr, struct work *work)
|
|
|
|
|
set_rawintensity(work->pool->rawintensity); |
|
|
|
|
if (work->pool->thread_concurrency) |
|
|
|
|
set_thread_concurrency(work->pool->thread_concurrency); |
|
|
|
|
#ifdef HAVE_ADL |
|
|
|
|
if (work->pool->gpu_engine) { |
|
|
|
|
set_gpu_engine(work->pool->gpu_engine); |
|
|
|
|
for (i = 0; i < nDevs; i++) |
|
|
|
@ -6257,6 +6258,7 @@ static void get_work_prepare_thread(struct thr_info *mythr, struct work *work)
@@ -6257,6 +6258,7 @@ static void get_work_prepare_thread(struct thr_info *mythr, struct work *work)
|
|
|
|
|
if (gpus[i].min_fan == gpus[i].gpu_fan) |
|
|
|
|
set_fanspeed(i, gpus[i].gpu_fan); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
// Change algorithm for each thread (thread_prepare calls initCl)
|
|
|
|
|
for (i = 0; i < mining_threads; i++) { |
|
|
|
|
struct thr_info *thr = mining_thr[i]; |
|
|
|
|