<div dir="ltr">Hi Simon,<div><br></div><div>Thank you so so much - that actually solved the problem.</div><div>I realized it could be because I was using an older version of RTK, in which the FindCUDA_wrap.cmake file did not include "-gencode arch=compute_30,code=sm_30" (my gpu compute compatibility is 3.0), and disabling that probably allows the compiler to automatically determine the correct architecture setting.</div>
<div>I really should have tried with the updated RTK version earlier, in which compute_30 was specified in the cmake file.</div><div>Anyways, thank you!!!</div><div><br></div><div>Cheers,</div><div>Andy </div><div><br></div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-23 7:44 GMT+10:00 Simon Rit <span dir="ltr"><<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.fr</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Andy,<br>
I'm not sure... Can you try disabling some archtiecture specific<br>
options in cmake/FindCUDA_wrap.cmake? In this file, you can try<br>
commenting lines 62 to 74.<br>
Simon<br>
<div><div class="h5"><br>
On Sun, Jun 22, 2014 at 4:22 PM, Andy Shieh <<a href="mailto:hsieandy@gmail.com">hsieandy@gmail.com</a>> wrote:<br>
> Hi Simon & RTK developers/users,<br>
><br>
> I'm trying to get the cuda applications in RTK to work on my NVIDIA GTX770<br>
> (with Win 8.1 x64, compiled using Visual Studio 2012).<br>
> I have installed the latest cuda toolkit (v6.0), and has confirmed that it<br>
> worked properly using the samples in the cuda toolkit as well as MATLAB.<br>
> I have also successfully compiled RTK with cuda found.<br>
> However, when I tried to execute cuda applications such as<br>
> rtkbackprojections, rtkfdk, rtksart, I kept getting the following runtime<br>
> errors:<br>
><br>
> For rtkbackprojections:<br>
> ======================<br>
> ExceptionObject caught with bp->Update()<br>
><br>
> itk::ExceptionObject (000000698148F5E8)<br>
> Location: "unknown"<br>
> File: D:/SourceCode/RTK_Andy/code/rtkCudaBackProjectionImageFilter.cu<br>
> Line: 251<br>
> Description: itk::ERROR: CUDA ERROR: invalid device function<br>
> ======================<br>
><br>
> For rtkfdk:<br>
> ======================<br>
> ExceptionObject caught with writer->Update()<br>
><br>
> itk::ExceptionObject (0000004AF047E8E0)<br>
> Location: "unknown"<br>
> File: D:/SourceCode/RTK_Andy/code/rtkCudaFFTRampImageFilter.cu<br>
> Line: 139<br>
> Description: itk::ERROR: CUDA ERROR: invalid device function<br>
> ======================<br>
><br>
> For rtksart:<br>
> ======================<br>
> ExceptionObject caught with sart->Update()<br>
><br>
> itk::ExceptionObject (00000086AE63F050)<br>
> Location: "unknown"<br>
> File: D:/SourceCode/RTK_Andy/code/rtkCudaForwardProjectionImageFilter.cu<br>
> Line: 251<br>
> Description: itk::ERROR: CUDA ERROR: invalid texture reference<br>
> ======================<br>
><br>
><br>
> These errors were all caught by "CUDA_CHECK_ERROR".<br>
> Do you know what might be the problem here?<br>
> I also tried these with a down-sampled projection sets with only 10<br>
> projections, so it seems that this is not a memory shortage issue.<br>
><br>
> It is also worth mentioning that everything works properly on another<br>
> computer with a NVIDIA Quadro 4000.<br>
><br>
> Any clue would be of great help. Thanks!<br>
><br>
> Cheers,<br>
> Andy<br>
><br>
</div></div>> _______________________________________________<br>
> Rtk-users mailing list<br>
> <a href="mailto:Rtk-users@public.kitware.com">Rtk-users@public.kitware.com</a><br>
> <a href="http://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">http://public.kitware.com/mailman/listinfo/rtk-users</a><br>
><br>
</blockquote></div><br></div>