passlab / rose

Developed at Lawrence Livermore National Laboratory (LLNL), ROSE is an open source compiler infrastructure to build source-to-source program transformation and analysis tools for large-scale C (C89 and C98), C++ (C++98 and C++11), UPC, Fortran (77/95/2003), OpenMP, Java, Python and PHP applications.
http://rosecompiler.org
Other
0 stars 0 forks source link

Failed case in OpenMP CompileTests #1

Open ouankou opened 5 years ago

ouankou commented 5 years ago

/rose_build/tests/nonsmoke/functional/CompileTests/OpenMP_tests

/rose_src/tests/nonsmoke/functional/CompileTests/OpenMP_tests/referenceResults/rose_jacobi-collapse.c

At the lines:

#pragma omp parallel  collapse(2)
#pragma omp for  private(xx,yy,j,i)

Original ROSE will generate:

#pragma omp parallel 
#pragma omp for  private(xx,yy,j,i) collapse(2)

But ROSE using ompparser will still produce the same code.