<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Century;
        panose-1:2 4 6 4 5 5 5 2 3 4;}
@font-face
        {font-family:Century;
        panose-1:2 4 6 4 5 5 5 2 3 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Century","serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Century","serif";color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Century","serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Century","serif";color:#1F497D'>I’m using VS2013 with CUDA 6.5.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Century","serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Century","serif";color:#1F497D'>Apart from the fact that you indeed have to remove the line “</span><span style='font-size:11.0pt;font-family:"Century","serif";color:#4F81BD'>-gencode arch=compute_10,code=sm_10” </span><span style='font-size:11.0pt;font-family:"Century","serif";color:#1F497D'>in the FindCuda_wrap.cmake, everything works fine.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Century","serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Century","serif";color:#1F497D'>I also had to upgrade the drivers (to 340.62) to get the 6.5 supports but I’m not sure it applies to you. I’ve a Tesla card with 1.2 compute capability.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Century","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Century","serif";color:#1F497D'>Have you tried running the examples coming with the cuda toolkit?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Century","serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Century","serif";color:#1F497D'>As you mentioned and as specified in the 6.5 release note, 1.x gpu won’t be supported anymore starting CUDA 7.x.<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Century","serif";color:#1F497D'>Sébastien<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Century","serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Rtk-users [mailto:rtk-users-bounces@public.kitware.com] <b>On Behalf Of </b>Simon Rit<br><b>Sent:</b> jeudi 9 octobre 2014 08:35<br><b>To:</b> M Miller<br><b>Cc:</b> rtk-users@public.kitware.com<br><b>Subject:</b> Re: [Rtk-users] Can RTK be built with CUDA 6.5 and VS2013?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal>Hi,<br>I haven't tried this combination, not even each one separately. But this is odd that CudaFDKBackprojectionImageFilter fails and CudaBackProjectionImageFilter succeeds, it's almost the same code. Can you check if the error is not somewhere else by putting the CUDA_CHECK_ERROR at the beginning of the function? (line 193). If you can't find the error, I would suggest to send a set of command line that produces the error, similar to what we use in our wiki examples (<a href="http://wiki.openrtk.org/index.php/Main_Page#Script_1_-_FDK">here</a> for example).<o:p></o:p></p></div><p class=MsoNormal>Thanks for the report,<o:p></o:p></p></div><p class=MsoNormal>Simon<o:p></o:p></p><div><div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Wed, Oct 8, 2014 at 11:24 PM, M Miller via Rtk-users <<a href="mailto:rtk-users@public.kitware.com" target="_blank">rtk-users@public.kitware.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal>Can RTK be built with CUDA 6.5 and VS2013?<br><br>(Using RTK source downloaded 10.7.14)<br>CUDA 6.5 has obseleted sm_10 and deprecated sm_11, sm_12, and sm_13.<br>To build rtkcuda the parameter "-gencode arch=compute_10,code=sm_10" must be removed from FindCUDA_wrap.cmake (line 56). The next version of CUDA will probably require the other -gencode lines to be modified.<br><br>Calling rtkbackprojections with bp=CudaFDKBackProjection crashes in "CUDA_reconstruct_conebeam". Inserting a CUDA_CHECK_ERROR after the "cudaMemcpyToArray" (about line 203) provides the description "itk::ERROR: CUDA ERROR: invalid argument".<br>Other modes including bp=CudaBackProjection work fine under the same conditions.<br><br>Which versions of CUDA are supported by RTK?<br><br><br>Thanks<br>_______________________________________________<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><o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></div></div></body></html>