This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Automatic Parallelization fail


Hi?!
I try to use the automatic parellilazion with the last (4.6.2) gcc version. I use this «?tuto?» http://openwall.info/wiki/internal/gcc-local-build for building gcc and tools.
I compile with :
my-gcc loop.c -o loop -fopenmp -floop-parallelize-all -ftree-parallelize-loops=8 -fdump-tree-parloops-details -lpthread

When I launch my "loop", I have only one processor used.
If I add a "#pragma " directive (for use explicitely OpenMP), I have some processors used.

In test-c-117t.parloops, loop 5 and 7are not noted "loop is not parallel according to graphite", so I think they could be parallelized ?

Thank for your help


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]