[vtkusers] Threads, MultiCore and VTK
John Norris
jnorris at mcs.anl.gov
Thu Mar 1 15:20:29 EST 2007
Regarding #3, I created an abstract class vtkMultiGroupThreadedAlgorithm
that automates multithreading, including intelligent handling of
ProgressEvents (but not vtk[Debug|Warning|Error]Macros). It works well,
but I haven't done any kind of performance testing. Also it only works
on composite datasets, as you might guess from the name.
John
Mike Jackson wrote:
> I was just wondering a few things about the subject matter. They are
> kinda related but I'll just list my questions and kinda people can comment:
>
> 1} With the advent of multi-core CPUs, can VTK take advantage of these
> additional cores? Like I could if I was using MPI on a cluster?
>
> 2} If I were to start writing multi-threaded filters, what/whose threads
> package should I use? Boost? Posix?
>
> 3} Has anyone written any multi-threaded filters that I could take a
> look at?
>
> 4} What are the Gotchas of using threads with VTK?
>
> Thanks for any insight.
--
John Norris
Research Programmer
Center for Simulation of Advanced Rockets
http://www.uiuc.edu/ph/www/jnorris
More information about the vtkusers
mailing list