<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Shiras,<br>
<br>
Another user had the same error some years ago : <br>
<a class="moz-txt-link-freetext" href="http://public.kitware.com/pipermail/rtk-users/2012-November/000028.html">http://public.kitware.com/pipermail/rtk-users/2012-November/000028.html</a><br>
It seemed to be a GPU memory size issue.<br>
<br>
Can you tell what GPU you use, are what are the size and number of
your projections ? Can you try with a single projection (you can use
the "rtksubselect" application to create such a dataset out of
yours) ? <br>
<br>
Best regards,<br>
Cyril<br>
<br>
<div class="moz-cite-prefix">On 06/15/2016 10:50 AM, Shiras
Abdurahman wrote:<br>
</div>
<blockquote
cite="mid:CACHVGWPDA3tOEpzQL7VnVQEpNywF=PHt30COo0sU95JsXnU3Jw@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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 moz-do-not-send="true"
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 moz-do-not-send="true" href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a>
<a moz-do-not-send="true" 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>
</blockquote>
<br>
</body>
</html>