Index: nano.c ================================================================== --- nano.c +++ nano.c @@ -417,11 +417,11 @@ unsigned int offset; int work_valid; memcpy(work, blockhash, sizeof(work)); - #pragma omp target +#pragma omp target map(tofrom:work) while (1) { work_valid = nano_validate_work(blockhash, work, workMin); if (work_valid) { break; }