<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:14px">Hi Simon & RTK developers/users,</span><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">
I'm trying to get the cuda applications in RTK to work on my NVIDIA GTX770 (with Win 8.1 x64, compiled using Visual Studio 2012).</div><div style="font-family:arial,sans-serif;font-size:14px">I have installed the latest cuda toolkit (v6.0), and has confirmed that it worked properly using the samples in the cuda toolkit as well as MATLAB.</div>
<div style="font-family:arial,sans-serif;font-size:14px">I have also successfully compiled RTK with cuda found.</div><div style="font-family:arial,sans-serif;font-size:14px">However, when I tried to execute cuda applications such as rtkbackprojections, rtkfdk, rtksart, I kept getting the following runtime errors:</div>
<div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">For rtkbackprojections:</div><div style="font-family:arial,sans-serif;font-size:14px">======================</div>
<div style="font-family:arial,sans-serif;font-size:14px"><div>ExceptionObject caught with bp->Update() </div><div> </div><div>itk::ExceptionObject (000000698148F5E8) </div><div>Location: "unknown"  </div><div>
File: D:/SourceCode/RTK_Andy/code/rtkCudaBackProjectionImageFilter.cu </div><div>Line: 251 </div><div>Description: itk::ERROR: CUDA ERROR: invalid device function  </div></div><div style="font-family:arial,sans-serif;font-size:14px">
======================<br></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">For rtkfdk:</div><div style="font-family:arial,sans-serif;font-size:14px">
<div>======================</div><div><div>ExceptionObject caught with writer->Update() </div><div> </div><div>itk::ExceptionObject (0000004AF047E8E0) </div><div>Location: "unknown"  </div><div>File: D:/SourceCode/RTK_Andy/code/rtkCudaFFTRampImageFilter.cu </div>
<div>Line: 139 </div><div>Description: itk::ERROR: CUDA ERROR: invalid device function  </div></div><div>======================</div></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">
For rtksart:</div><div style="font-family:arial,sans-serif;font-size:14px"><div>======================</div><div><div>ExceptionObject caught with sart->Update() </div><div> </div><div>itk::ExceptionObject (00000086AE63F050) </div>
<div>Location: "unknown"  </div><div>File: D:/SourceCode/RTK_Andy/code/rtkCudaForwardProjectionImageFilter.cu </div><div>Line: 251 </div><div>Description: itk::ERROR: CUDA ERROR: invalid texture reference </div>
</div><div>======================</div></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">
These errors were all caught by "CUDA_CHECK_ERROR".<br>Do you know what might be the problem here?</div><div style="font-family:arial,sans-serif;font-size:14px">I also tried these with a down-sampled projection sets with only 10 projections, so it seems that this is not a memory shortage issue.</div>
<div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">It is also worth mentioning that everything works properly on another computer with a NVIDIA Quadro 4000.</div>
<div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">Any clue would be of great help. Thanks!</div><div style="font-family:arial,sans-serif;font-size:14px">
<br></div><div style="font-family:arial,sans-serif;font-size:14px">Cheers,</div><div style="font-family:arial,sans-serif;font-size:14px">Andy</div></div>