Implemented option "dataset_host".

This commit is contained in:
XMRig
2019-09-12 13:49:27 +07:00
parent 1699443520
commit 3afc880fe5
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();