[vtkusers] VTK and CUDA and Parallel Dataflow Streaming (PDS)

Qiang Wang wangq1979 at gmail.com
Thu Jan 31 19:06:06 EST 2013


Hi David,

Thanks for the prompt reply.

I wonder if there has any technical paper with respect to the rendering
with GPU support?

Moreover, as mentioned there do have some projects used Huy's extension,
can you let me know the name of the projects?

Thanks

Qiang

On 31 January 2013 18:53, David E DeMarle <dave.demarle at kitware.com> wrote:

> On Thu, Jan 31, 2013 at 1:15 PM, Qiang Wang <wangq1979 at gmail.com> wrote:
> > Hi there,
> >
> > I am using VTK 5.10 to do some contour rendering and 2D image processing
> > with capacity of handling images about 10000 images per minute, but the
> > performance is below our expectation. Therefore, I need some improvement
> in
> > terms of performance, and here are my questions:
> >
> > 1. I was wondering how much VTK leverages the GPU capabilities and
> supports
> > CUDA? Does VTK support GPU capabilities and CUDA in general terms
> instead of
> > only for some specific data types or algorithms such as FFT?
>
> VTK has very little GPU support outside of rendering. This is likely
> to change in upcoming versions. See for example, VTK's interface to
> LANL's piston GPGPU library in the current master branch (and ParaView
> 3.98.0). Even there the support is for specific data structures and
> algorithms since porting or adapting all of VTK onto GPUs is a very
> big task.
>
> >
> > 2. Since the 2D images we concerned are actually raw data which are not
> > supported by VTK, they have to be loaded and processed by our own class.
> In
> > this case, can I still utilise the VTK-provided GPC/CUDA facilities?
> >
>
> To do anything with VTK, you first have to push your data into a
> vtkDataObject. For raw 2D data importing is simple, make a 2D
> vtkImageData and assign the pointer to your buffer to that container.
> Then all of the imaging filters will be able to work with it.
>
> >
> > 3. I recently read the paper of  "streaming-enabled parallel data flow
> > framework in the visualization toolkit", and the author said the current
> > release of VTK includes a complete implementation of PDS. But when I
> > explored the document, I did not find the class or function provided by
> PDS.
> > Do I need install any extension to support PDS?
> >
>
> Huy's work for that paper lives in the vtkThreadedStreamingPipeline
> class. Those features are a little used part of VTK, but I know of one
> project at least that did use them successfully, so there is hope that
> it is in a usable state.
>
> >
> > Thanks,
> >
> > Qiang
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130201/461a5d00/attachment.htm>


More information about the vtkusers mailing list