diff --git a/aprod.c b/aprod.c index e13de388616a5377aaefc139c01c893d898f1e39..b4ee20383e1e992cec570954366f949d91ac20a9 100644 --- a/aprod.c +++ b/aprod.c @@ -249,7 +249,6 @@ void aprod(int mode, long int m, long int n, double *vVect, double *knownTerms, for(int nt=0; nt < ntasks; nt++ ) { - #pragma omp target device (fpga) copy_deps #pragma omp task label(vVect_nAstroPSolved) //out(vVect[jstartAstro : jstartAstro + nAstroPSolved-1]) { lset = mapForThread[nt][0] * nparam; diff --git a/util.h b/util.h index dbb0fe62c1376baa8788e7072b498dfd96437d4f..6f12e14025fe75250c844a8af771f52d207dfc5c 100644 --- a/util.h +++ b/util.h @@ -103,7 +103,7 @@ struct comData { int timeCPR, timeLimit, itnCPR,itnCPRstop,itnCPRend, itnLimit,itn,noCPR; long offsetCMag,offsetCnu,offsetCdelta_eta,offsetCDelta_eta_1,offsetCDelta_eta_2; long offsetCDelta_eta_3,offsetCdelta_zeta,offsetCDelta_zeta_1,offsetCDelta_zeta_2; - int nthreads=1; + int nthreads; int ntasks; long **mapForThread; int nSubsetAtt, nSubsetInstr;