[FFmpeg-devel] [PATCH]Use -parallel when compiling with icc

Reimar Döffinger Reimar.Doeffinger
Tue Jan 20 01:47:03 CET 2009


On Tue, Jan 20, 2009 at 12:42:59AM +0000, Carl Eugen Hoyos wrote:
> M?ns Rullg?rd <mans <at> mansr.com> writes:
> 
> > > +  # Use -parallel option, as recommended by Intel, but keep quiet about it
> > > +  check_cflags -parallel
> > > +  check_cflags -par-report=0
> > > +  check_ldflags -parallel
> > >  fi
> > 
> > What effect does that flag have?
> 
> (From man icc)
> It enables the auto-parallelizer to generate multi-threaded code for loops that
> can be safely executed in parallel.

You should _very_ carefully benchmark that. It is not unlikely to slow
things down, at least when used globally.

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list