[Bf-committers] Is there a parallel pipeline in blender?

Brecht Van Lommel brecht at blender.org
Mon Aug 10 23:48:47 CEST 2009


As mentioned, Blender already does multithreading in various places.
Some using the BLI_thread functions, others using OpenMP. I'm not sure
why you are talking about CPU pipelining, to me it seems what you are
proposing is standard multithreading, so it may be better to talk in
that terminology. There's more places in Blender that could benefit from
multithreading, and they can share some code, but basically need to be
handled on a case by case basis. What you're proposing is very generic,
so it's unclear to me what it is really about.


On Fri, 2009-08-07 at 09:14 +0800, Ruan Beihong wrote:
> Thanks for the reply.
> Maybe I didn't put it right. I mean the execution of the tasks in
> pipeline goes in similar way as the pipeline in CPU, which always
> starts tasks in order, and end it in order but between them tasks run
> in parallel. This feature can be put into use when some series of
> tasks done in order to more than one piece of data.
> I don't know much about OpenMP, but it seems OpenMP doesn't provide
> this feature directly, isn't it?
> 2009/8/7 GSR <gsr.b3d at infernal-iceberg.com>:
> > Hi,
> > ruanbeihong at gmail.com (2009-08-06 at 2311.39 +0800):
> >> Hi there,
> >> I wonder if there is a parallel pipeline in blender. I mean the
> >> pipeline as that in CPU which increase IPC (instructions per cycle).
> >
> > Sorry, but I am unable to see how instructions per cycle matter for
> > this. Maybe you mean Symmetric Multi Processing?
> >
> >> I'm considering implement that feature.
> >
> > Some parts of code are using OpenMP to accomodate systems with more
> > than one logical CPU, libelbeem for example.
> >
> > GSR
> >
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers
> >

More information about the Bf-committers mailing list