<div dir="ltr">The CudaContextManager has been removed, you should maybe try the master HEAD version.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 7, 2024 at 2:32 AM Fuquan Deng <<a href="mailto:dfq_2022@163.com">dfq_2022@163.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial"><div id="m_-888590367508053218spnEditorContent"><p style="margin:0px"><br></p><p style="margin:0px"><br></p><p style="margin:0px">it is strange. i define forward function and fdk function in the same file. fdk can run, but forward function has error. I have found online, but it did not help me.  communicate with other peers, he does not know the reason as well. </p><p style="margin:0px"><br></p><p style="margin:0px"><br></p></div><div style="zoom:1"></div><div id="m_-888590367508053218divNeteaseMailCard"></div><p style="margin:0px"><br></p><p>At 2024-06-06 21:18:48, "Simon Rit" <<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.fr</a>> wrote:</p><blockquote id="m_-888590367508053218isReplyContent" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)"><div dir="ltr"><div>Hi,</div><div>I don't know... It seems to be a problem with your driver according to posts I find online. Can you run other Cuda software? Are you using the current RTK head?</div><div>Simon<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 6, 2024 at 2:04 PM Fuquan Deng <<a href="mailto:dfq_2022@163.com" target="_blank">dfq_2022@163.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial"><p style="margin:0px">void forwardConeBeam(float* volumn, float* integration, PhysicsParameters* params)</p><p style="margin:0px">{</p><p style="margin:0px">    constexpr unsigned int Dimension = 3;</p><p style="margin:0px">    using OutputPixelType = float;</p><p style="margin:0px">    using OutputImageType = itk::CudaImage<OutputPixelType, Dimension>;</p><p style="margin:0px">    using CopyImageType = itk::Image<OutputPixelType, Dimension>;</p><p style="margin:0px">    using JFPType = rtk::CudaForwardProjectionImageFilter<OutputImageType, OutputImageType>;</p><p style="margin:0px">    using ConstantImageSourceType = rtk::ConstantImageSource<OutputImageType>;</p><p style="margin:0px">    using GeometryType = rtk::ThreeDCircularProjectionGeometry;</p><p style="margin:0px">    using ImportFilterType = rtk::ImportImageFilter<OutputImageType>;</p><p style="margin:0px"><br></p><p style="margin:0px">    ConstantImageSourceType::PointType   origin;</p><p style="margin:0px">    ConstantImageSourceType::SizeType    size;</p><p style="margin:0px">    ConstantImageSourceType::SpacingType spacing;</p><p style="margin:0px">    ConstantImageSourceType::Pointer volumeSource = ConstantImageSourceType::New();                      // when i used this code, cause error, the error show below</p><p style="margin:0px">    </p><p style="margin:0px">    size[0] = params->x;</p><p style="margin:0px">    size[1] = params->y;</p><p style="margin:0px">    size[2] = params->z;</p><p style="margin:0px">    spacing[0] = params->atteESX;</p><p style="margin:0px">    spacing[1] = params->atteESY;</p><p style="margin:0px">    spacing[2] = params->atteESZ;</p><p style="margin:0px">    origin[0] = params->minXP;</p><p style="margin:0px">    origin[1] = params->minYP;</p><div style="margin:0px">    origin[2] = params->minZP;</div><div style="margin:0px"><div style="margin:0px">D:\itk\InsightToolkit\Modules\Remote\RTK\utilities\ITKCudaCommon\src\itkCudaContextManager.cxx:72 @ __cdecl itk::CudaContextManager::CudaContextManager(void) : Cuda Error #999</div><div style="margin:0px"><br></div><div style="margin:0px">D:\itk\InsightToolkit\Modules\Remote\RTK\utilities\ITKCudaCommon\src\itkCudaContextManager.cxx:72:</div><div style="margin:0px">Cuda Error #999</div><div style="margin:0px"><br></div><div style="margin:0px">D:\itk\InsightToolkit\Modules\Remote\RTK\utilities\ITKCudaCommon\src\itkCudaContextManager.cxx:72 @ __cdecl itk::CudaContextManager::CudaContextManager(void) : Cuda Error #700</div><div style="margin:0px"><br></div><div style="margin:0px">D:\itk\InsightToolkit\Modules\Remote\RTK\utilities\ITKCudaCommon\src\itkCudaContextManager.cxx:72:</div><div style="margin:0px">Cuda Error #700</div><div style="margin:0px"><br></div><div style="margin:0px">D:\itk\InsightToolkit\Modules\Remote\RTK\utilities\ITKCudaCommon\src\itkCudaContextManager.cxx:72 @ __cdecl itk::CudaContextManager::CudaContextManager(void) : Cuda Error #700</div><div style="margin:0px"><br></div><div style="margin:0px">so how to solve this error?</div></div><div style="margin:0px"><br></div><div style="margin:0px"><br></div></div><img style="width: 1px; height: 1px;" src="https://count.mail.163.com/beacon/webmail.gif?type=webmail_mailtrace&guid=pre_570c2552fa616df01796622228b0f7e1">_______________________________________________<br>
Rtk-users mailing list<br>
<a href="mailto:rtk-users@openrtk.org" target="_blank">rtk-users@openrtk.org</a><br>
<a href="https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users</a><br>
</blockquote></div>
</blockquote></div><img style="width: 1px; height: 1px;" src="https://count.mail.163.com/beacon/webmail.gif?type=webmail_mailtrace&guid=pre_b0272190ed8d3e69e0c891a760b068c2"></blockquote></div>