public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Automatic Parallelization fail
@ 2011-12-08 14:47 LAMOME Julien CS-SI
  0 siblings, 0 replies; only message in thread
From: LAMOME Julien CS-SI @ 2011-12-08 14:47 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-08 14:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-08 14:47 Automatic Parallelization fail LAMOME Julien CS-SI

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).