[Rtk-users] [EXTERNAL] Some Cuda filters not working

Rahman, Obaid rahmano at ornl.gov
Tue Jun 20 12:10:13 CEST 2023


I will take a look.
And thank you!

On Jun 20, 2023, at 3:16 AM, Simon Rit <simon.rit at creatis.insa-lyon.fr> wrote:

Hi,
Thanks for the report. Those filters aren't wrapped. For each wrapped filter, one needs to create a .wrap file in the wrapping directory.
I have created a pull request to fix this:
https://github.com/RTKConsortium/RTK/pull/550<https://urldefense.us/v2/url?u=https-3A__github.com_RTKConsortium_RTK_pull_550&d=DwMFaQ&c=v4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-O7C4ViYc&r=J7uT21mkGp7aMwIrHQkTLGwy72wKx_bOB0IkoGp__bQ&m=kIhsQ53KSQ9xTXy05PQXpv7jVaRCUhCnko-be2omy4UA2LGWOTneXVbnHk7zlM0z&s=JTnVw7yvl99GSXH0LQDILbVr-2SRk3Xh9-OQqgThh8o&e=>
When CI packages are compiled, they will be available for download, I'll let you know.
I would appreciate it if you have a look at the PR and you try to do the wrapping yourself next time.
Thanks in advance!
Simon

On Tue, Jun 20, 2023 at 2:52 AM Rahman, Obaid <rahmano at ornl.gov<mailto:rahmano at ornl.gov>> wrote:
Hello everyone,

I have installed the Cuda version of itk-rtk (pip install itk-rtk-cuda116).
Some filters are working as expected but the following are not:

rtk.ParkerShortScanImageFilter
rtk.CudaScatterGlareCorrectionImageFilter

I get error:
“module 'RTK' has no attribute ‘CudaParkerShortScanImageFilter’"
“module 'RTK' has no attribute ‘CudaScatterGlareCorrectionImageFilter'"

Their CPU counterparts work as expected.
Does anyone have any idea why?
Thanks in advance.

Best,
Obaid
_______________________________________________
Rtk-users mailing list
rtk-users at openrtk.org
https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users<https://urldefense.us/v2/url?u=https-3A__www.creatis.insa-2Dlyon.fr_mailman_listinfo_rtk-2Dusers&d=DwQFaQ&c=v4IIwRuZAmwupIjowmMWUmLasxPEgYsgNI-O7C4ViYc&r=J7uT21mkGp7aMwIrHQkTLGwy72wKx_bOB0IkoGp__bQ&m=kIhsQ53KSQ9xTXy05PQXpv7jVaRCUhCnko-be2omy4UA2LGWOTneXVbnHk7zlM0z&s=u8aIbDAbE4h1_MbM9X62MpLMyqrA6PrCu4Y7c4u4Fr8&e=>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/rtk-users/attachments/20230620/4673e228/attachment.htm>


More information about the Rtk-users mailing list