[vtkusers] Threads, MultiCore and VTK
John Norris
jnorris at mcs.anl.gov
Thu Mar 1 15:43:44 EST 2007
I'm developing on a Windows box (Pentium D with XP Professional). VTK
configured itself to use Win32 threads. My class uses vtkMultiThreader,
so porting won't be an issue (I hope).
John
Mike Jackson wrote:
> What threads package did you use?
>
> On Mar 1, 2007, at 3:20 PM, John Norris wrote:
>
>> 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.
>>
>> 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