Implemented option "dataset_host".

This commit is contained in:
XMRig 2019-09-12 13:49:27 +07:00
parent 7f0891a0f0
commit ad7141fe21
5 changed files with 31 additions and 9 deletions

View file

@ -305,7 +305,7 @@ void xmrig::OclBackend::setJob(const Job &job)
return stop();
}
if (!d_ptr->context.init(d_ptr->devices, threads)) {
if (!d_ptr->context.init(d_ptr->devices, threads, job)) {
LOG_WARN("%s " RED_BOLD("disabled") YELLOW(" (OpenCL context unavailable)"), tag);
return stop();