<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    I recently added the --subsetsize option (see <a
href="https://github.com/SimonRit/RTK/commit/b78bd03f38a6944448b77a683a0c1d69857b439d">this
      commit</a>). You can try "--subsetsize 1" instead of using
    rtksubselect.<br>
    Simon<br>
    <br>
    <div class="moz-cite-prefix">On 15/06/2016 11:02, Cyril Mory wrote:<br>
    </div>
    <blockquote cite="mid:5761198F.7060504@uclouvain.be" type="cite"><br>
      <br>
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <br>
      <br>
      <br>
      Hi Shiras,<br>
      <br>
      <br>
      <br>
      Another user had the same error some years ago : <br>
      <br>
      <a moz-do-not-send="true" 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>
      <br>
      It seemed to be a GPU memory size issue.<br>
      <br>
      <br>
      <br>
      Can you tell what GPU you use, are what are the size and number of<br>
      your projections ? Can you try with a single projection (you can
      use<br>
      the "rtksubselect" application to create such a dataset out of<br>
      yours) ? <br>
      <br>
      <br>
      <br>
      Best regards,<br>
      <br>
      Cyril<br>
      <br>
      <br>
      <br>
      <div class="moz-cite-prefix">On 06/15/2016 10:50 AM, Shiras<br>
        Abdurahman wrote:<br>
        <br>
      </div>
      <br>
      <blockquote
cite="mid:CACHVGWPDA3tOEpzQL7VnVQEpNywF=PHt30COo0sU95JsXnU3Jw@mail.gmail.com"
        type="cite"><br>
        <meta http-equiv="Content-Type" content="text/html;
          charset=utf-8">
        <br>
        <div dir="ltr">Dear Cyril,<br>
          <div><br>
            <br>
          </div>
          <br>
          <div>Thanks a lot. Now rtkramp.exe works with cuda option.</div>
          <br>
          <div>I am trying to integrate rtk cuda ramp filter into my
            recon<br>
            program. I read the projections with ProjectionsReader and<br>
            pass image pointer to cuda ramp filter pipeline using</div>
          <br>
          <div>cudaRampFilter->SetInput(projections);<br>
            <br>
          </div>
          <br>
          <div><br>
            <br>
          </div>
          <br>
          <div>I am getting runtime error and it says</div>
          <br>
          <div><br>
            <div>Error during cuda ramp filtering ::</div>
            <br>
            <div>D:/programming/cpp/ext_libs/rtk_1_2/src/code/rtkCudaFFTConvolutionImageFilter.cu</div>
            <br>
            <div>:97:</div>
            <br>
            <div>itk::ERROR: CUFFT ERROR #2</div>
            <br>
          </div>
          <br>
          <div><br>
            <br>
          </div>
          <br>
          <div>Do I need to enable or disable any parameter while
            reading<br>
            projections to get rid of this error? I<br>
            changed rtk_proj_reader_->Update<br>
            to rtk_proj_reader_->UpdateOutputInformation();</div>
          <br>
          <div>But I am still getting the error. </div>
          <br>
          <div>The error exists only with CudaFFTRampImageFilter<br>
             and FFTRampImageFilter works fine.</div>
          <br>
          <div><br>
            <br>
          </div>
          <br>
          <div>With regards,</div>
          <br>
          <div>Shiras</div>
          <br>
          <div><br>
            <br>
          </div>
          <br>
          <div><br>
            <br>
          </div>
          <br>
          <div><br>
            <br>
          </div>
          <br>
          <div> </div>
          <br>
          <div><br>
            <br>
          </div>
          <br>
        </div>
        <br>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Tue, Jun 14, 2016 at 3:38 PM,
            Cyril<br>
            Mory <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:cyril.mory@uclouvain.be" target="_blank">cyril.mory@uclouvain.be</a>></span><br>
            wrote:<br>
            <br>
            <blockquote class="gmail_quote" style="margin:0 0
              0<br> .8ex;border-left:1px #ccc
              solid;padding-left:1ex"><br>
              <div text="#000000" bgcolor="#FFFFFF"> Hi Shiras,<br>
                <br>
                <br>
                <br>
                We found that bug recently with Sebastien Brousmiche and<br>
                fixed it, at least for the use case we were considering.<br>
                Can you try with the git master version of RTK ?<br>
                <br>
                Alternatively, you can replace <br>
                <br>
                <br>
                <br>
                reader->Update()<br>
                <br>
                <br>
                <br>
                with <br>
                <br>
                <br>
                <br>
                reader->UpdateOutputInformation()<br>
                <br>
                <br>
                <br>
                in line 61 of rtkramp.cxx and see if it fixes the
                problem.<br>
                <br>
                <br>
                <br>
                Regards,<br>
                <br>
                Cyril<br>
                <div><br>
                  <div class="h5"><br>
                    <br>
                    <br>
                    <br>
                    <div>On 06/14/2016 03:12 PM, Shiras Abdurahman
                      wrote:<br>
                      <br>
                    </div>
                    <br>
                  </div>
                  <br>
                </div>
                <br>
                <blockquote type="cite"><br>
                  <div><br>
                    <div class="h5"><br>
                      <div dir="ltr">Dear all,<br>
                        <div><br>
                          <br>
                        </div>
                        <br>
                        <div>When I use rtkramp with cuda option, I am<br>
                          getting following error</div>
                        <br>
                        <div><br>
                          <br>
                        </div>
                        <br>
                        <div><br>
                          <div>ExceptionObject caught with<br>
                            streamer->Update() in file<br>
                            D:\programming\cpp\ext_li</div>
                          <br>
                          <div>bs\rtk_1_2\src\applications\rtkramp\rtkramp.cxx<br>
                            line 93</div>
                          <br>
                          <div><br>
                            <br>
                          </div>
                          <br>
                          <div>itk::ExceptionObject (000000ADA7DAF220)</div>
                          <br>
                          <div>Location: "unknown"</div>
                          <br>
                          <div>File:<br>
d:\programming\cpp\ext_libs\rtk_1_2\src\code\rtkCudaFFTConvolutionImageFil</div>
                          <br>
                          <div>ter.txx</div>
                          <br>
                          <div>Line: 50</div>
                          <br>
                          <div>Description: itk::ERROR:<br>
                            CudaFFTRampImageFilter(000000ADAA53B490):<br>
                            CudaFFTConvol</div>
                          <br>
                          <div>utionImageFilter assumes that input<br>
                            requested and buffered regions are equal.</div>
                          <br>
                        </div>
                        <br>
                        <div><br>
                          <br>
                        </div>
                        <br>
                        <div>However, cpu version of ramp filter works<br>
                          fine.</div>
                        <br>
                        <div><br>
                          <br>
                        </div>
                        <br>
                        <div>Thanks in advance.</div>
                        <br>
                        <div><br>
                          <br>
                        </div>
                        <br>
                        <div>With regards,</div>
                        <br>
                        <div>Shiras</div>
                        <br>
                      </div>
                      <br>
                      <br>
                      <br>
                      <fieldset></fieldset>
                      <br>
                      <br>
                      <br>
                    </div>
                    <br>
                  </div>
                  <br>
                  <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>
                  <br>
                </blockquote>
                <br>
                <br>
                <br>
              </div>
              <br>
            </blockquote>
            <br>
          </div>
          <br>
          <br>
          <br>
        </div>
        <br>
      </blockquote>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Rtk-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Rtk-users@public.kitware.com">Rtk-users@public.kitware.com</a>
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/rtk-users">http://public.kitware.com/mailman/listinfo/rtk-users</a>
</pre>
      <br>
      <br>
    </blockquote>
    <br>
    <br>
  </body>
</html>