Re: [ITK-users] Problems Using GPU Filters
Matt McCormick <[email protected]>
| Newsgroups | gmane.comp.lib.itk.user |
|---|---|
| Message-ID | <CALzTN-SsngK4CUUOduNmWFg937uiMKrOru4w_bwD2yOd9eDp=A@mail.gmail.com> |
Following up, I did not have a chance to fully address this. Progress is started here: http://review.source.kitware.com/#/q/topic:gpu-mean-filters The GPUMeanImageFilter tests are failing: itkGPUMeanImageFilterTest2D itkGPUMeanImageFilterTest3D I will take another look in a few weeks. Thanks, Matt On Fri, Aug 4, 2017 at 9:38 AM, Matt McCormick <[email protected]> wrote: > Hi Andaharoo, > > You may have identified a bug. I am also seeing local failures in the > regression tests for the referenced classes. I will investigate > further next week. > > Thanks, > Matt > > On Tue, Aug 1, 2017 at 6:23 PM, Andaharoo <[email protected]> wrote: >> I can't get the images to go from CPU to GPU on GPUMeanImageFilter, >> GPUBinaryThresholdImageFilter, and GPUDiscreteGaussianImageFilter. So I >> can't start my gpu pipeline with these filters. If I apply something like >> GPUGradientAnisotropicImageFilter (which does work) then I can apply the >> other filters confirming that it can go GPU to GPU but not CPU to GPU on >> those 3 filters. Do these 3 filters not support conversion? >> >> GPUInputImage::Pointer inPtr = >> dynamic_cast<GPUInputImage*>(this->ProcessObject::GetInput(0)); >> inPtr was null when I debugged GPUMeanImageFilter. This line also doesn't >> make sense in terms of using an Image since it would just return null if you >> gave it an Image that wasn't allocated as a GPUImage. Unless the cpu image >> gets converted to a gpu image elsewhere beforehand? >> >> It seems as though only GPUInPlaceImageFilters work with CPU - GPU >> conversion for me? I can't quite understand the GPUInPlaceImageFilters >> source yet so I'm not so sure why GPUGradientAnisotropicImageFilter works. >> They are, of course, different in terms of how they manage memory. >> >> >> >> -- >> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Problems-Using-GPU-Filters-tp7590036p7590122.html >> Sent from the ITK Insight Users mailing list archive at Nabble.com. >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-users