<div dir="ltr">Dear Cyril,<div><br></div><div>Thanks a lot. Now rtkramp.exe works with cuda option.</div><div>I am trying to integrate rtk cuda ramp filter into my recon program. I read the projections with ProjectionsReader and pass image pointer to cuda ramp filter pipeline using</div><div>cudaRampFilter->SetInput(projections);<br></div><div><br></div><div>I am getting runtime error and it says</div><div><div>Error during cuda ramp filtering ::</div><div>D:/programming/cpp/ext_libs/rtk_1_2/src/code/rtkCudaFFTConvolutionImageFilter.cu</div><div>:97:</div><div>itk::ERROR: CUFFT ERROR #2</div></div><div><br></div><div>Do I need to enable or disable any parameter while reading projections to get rid of this error? I changed rtk_proj_reader_->Update to rtk_proj_reader_->UpdateOutputInformation();</div><div>But I am still getting the error. </div><div>The error exists only with CudaFFTRampImageFilter and FFTRampImageFilter works fine.</div><div><br></div><div>With regards,</div><div>Shiras</div><div><br></div><div><br></div><div><br></div><div> </div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 14, 2016 at 3:38 PM, Cyril Mory <span dir="ltr"><<a href="mailto:cyril.mory@uclouvain.be" target="_blank">cyril.mory@uclouvain.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi Shiras,<br>
<br>
We found that bug recently with Sebastien Brousmiche and fixed it,
at least for the use case we were considering. Can you try with the
git master version of RTK ?<br>
Alternatively, you can replace <br>
<br>
reader->Update()<br>
<br>
with <br>
<br>
reader->UpdateOutputInformation()<br>
<br>
in line 61 of rtkramp.cxx and see if it fixes the problem.<br>
<br>
Regards,<br>
Cyril<div><div class="h5"><br>
<br>
<div>On 06/14/2016 03:12 PM, Shiras
Abdurahman wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Dear all,
<div><br>
</div>
<div>When I use rtkramp with cuda option, I am getting following
error</div>
<div><br>
</div>
<div>
<div>ExceptionObject caught with streamer->Update() in file
D:\programming\cpp\ext_li</div>
<div>bs\rtk_1_2\src\applications\rtkramp\rtkramp.cxx line 93</div>
<div><br>
</div>
<div>itk::ExceptionObject (000000ADA7DAF220)</div>
<div>Location: "unknown"</div>
<div>File:
d:\programming\cpp\ext_libs\rtk_1_2\src\code\rtkCudaFFTConvolutionImageFil</div>
<div>ter.txx</div>
<div>Line: 50</div>
<div>Description: itk::ERROR:
CudaFFTRampImageFilter(000000ADAA53B490): CudaFFTConvol</div>
<div>utionImageFilter assumes that input requested and
buffered regions are equal.</div>
</div>
<div><br>
</div>
<div>However, cpu version of ramp filter works fine.</div>
<div><br>
</div>
<div>Thanks in advance.</div>
<div><br>
</div>
<div>With regards,</div>
<div>Shiras</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Rtk-users mailing list
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a>
<a href="http://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">http://public.kitware.com/mailman/listinfo/rtk-users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div>