https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98258

--- Comment #4 from Chinoune <mehdi.chinoune at hotmail dot com> ---
gfortran -O3 -fopenmp -fopenacc -foffload=disable bug_omp_acc.f90 -o test.x
./test.x 2048
 dim1 = dim2 =         2048
 CPU Time =    4.99999989E-03

libgomp: target function wasn't mapped

gfortran -O3 -fopenacc -foffload=disable bug_omp_acc.f90 -o test.x
./test.x 2048
 dim1 = dim2 =         2048
 CPU Time =    1.90100002    

libgomp: target function wasn't mapped

gfortran -O3 -fopenmp -foffload=disable bug_omp_acc.f90 -o test.x
./test.x 2048
 dim1 = dim2 =         2048
 CPU Time =    6.00000005E-03
 GPU Time =    1.44500005    
 Max(|C2-C1|) =    559.285156

Reply via email to