Hi,
Your projections alone are 16.5 GB on the GPU and the volume 2.6 GB before
doing any calculation. Since your GPU has 24 GB memory, you're flirting
with the limit, hence the issue I guess. I would suggest to add these lines
before "# Field-of-view masking":
  os.system('nvidia-smi')
  print(projections.GetOutput().GetCudaDataManager().GetGPUBufferPointer())
  os.system('nvidia-smi')
  feldkamp.Update()
  os.system('nvidia-smi')
You'll most likely not reach the third nvidia-smi but you'll have a better
understanding of the issue.
Simon


On Fri, Apr 12, 2024 at 8:59 AM ...... <1533168...@qq.com> wrote:

> Hello all,
> I tried reconstruction my projection data by cudaFDK, and my data is
> 360*3008*2048 with type uint16. I set my output volumn size as 752*752*624.
> When I run my code with GPU(GeForce RTX 4090), there appear the error:
>
>
> I checked the code execution process and during this period, the GPU's
> memory was still very sufficient. I reduce the size of my data to
> 360*1504*1024 and other items remain unchanged. This  code can run
> without error.
> The attachment is my code. Any help will be appreciated.
> Sincerely,
> ------------------------------
> ......
> 1533168...@qq.com
>
> <https://wx.mail.qq.com/home/index?t=readmail_businesscard_midpage&nocheck=true&name=......&icon=http%3A%2F%2Fthirdqq.qlogo.cn%2Fg%3Fb%3Doidb%26k%3DaU2UicjBCZHhOuTg0I8eaAQ%26kti%3DZNG2GAAAAAI%26s%3D640%26t%3D1557079014&mail=1533168486%40qq.com&code=MxmxlJaC2QgJPGkeK0WWGn27E_Hxxdg4z_yHE18lRA4Xk7gMOGcWVLQlSeT63-65rHTBwEDtE8Q5X12n2MGehA>
>
> _______________________________________________
> Rtk-users mailing list
> rtk-us...@openrtk.org
> https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users
>
_______________________________________________
Rtk-users mailing list
rtk-us...@openrtk.org
https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users

Reply via email to