[Rtk-users] Use existing Images when copying from/to GPU

C S clem.schmid at gmail.com
Mon Jul 8 22:05:42 CEST 2019


Dear RTK users,

I'm looking for a way to use exisiting ITK Images (either on GPU or in RAM)
when transfering data from/to GPU. That is, not only re-using the Image
object, but writing into the memory where its buffer is.

Why: As I'm using the Python bindings, I guess this ties in with ITK
wrapping the CudaImage type. In
https://github.com/SimonRit/RTK/blob/master/utilities/ITKCudaCommon/include/itkCudaImage.h#L32
I
read that the memory management is done implicitly and the CudaImage can be
used with CPU filters. However when using the bindings,
only rtk.BackProjectionImageFilter can be used with CudaImages. The other
filters complain about not being wrapped for that type.

That is why I want to explicitely transfer the data from/to GPU, but
preferably using the exisiting Images and buffers. I can't rely on RTK
managing GPU memory implicitly.


Thank you very much for your help!
Clemens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/rtk-users/attachments/20190708/d25d4c62/attachment.htm>


More information about the Rtk-users mailing list