Commit 2bf2f650 authored by Fabio Roberto Vitello's avatar Fabio Roberto Vitello
Browse files

TEST device(cuda)

parent b301c4fb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -336,6 +336,7 @@ 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 (cuda) copy_deps	
                    #pragma omp task label(vVect_nAstroPSolved) //out(vVect[jstartAstro : jstartAstro + nAstroPSolved-1]) 
                    {
                        lset = mapForThread[nt][0] * nparam;