Replies: 1 comment 7 replies
-
Heya, However, I am not sure if TIGRE has any control on this. The way the line that fails works is that it asks the operating system for memory in the RAM, and asks the operating system to "page-lock" (or "pin") the memory, i.e. to lock all the memory and force it to never be moved by other processes. From TIGRE side, this is 1 line of CUDA code with no parameters, so I am thinking that this may be more related to your system, rather than anything that I could fix from my side. Its possible that e.g. your CPU/motherboard does not support 1TB of RAM for page-locking, for example. Or that the OS version does not support it. I would dig a little bit that side, as I suspect the "out of memory" comes from TIGRE asking for the memory to the OS, and the OS saying "I can't give you that", and TIGRE/CUDA interpreting that it must be due to lack of memory. But we know its not that. So dig a bit more int he capabilities of your machine, I suspect that the issue is from that side. I'll check a bit more if there are issues like this from the CUDA side, but my preemptive search suggest no. As a side note, you say that the volume has to be below 8GB? Is this always for you? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am having some issues reconstructing using FBP/FDK after a RAM upgrade. I'm using CIL with Tigre backend, but this issue also seems to happen with Tigre by itself, and doesn't happen when using Astra as CIL backend
Our new config has a massive 1TB of RAM, but recon fails when the projection data is over 2GB (independent of recon volume size) with the following error
../Common/CUDA/TIGRE_common.cpp (7): Texture memory allocation fail
../Common/CUDA/TIGRE_common.cpp (14): CBCT:CUDA:Atb out of memory
The kernel died, restarting...
However, after lowering to 768GB of RAM (or below), it seems I can recon from projection data of any size without issue (only tested to 150GB). The volume does have to be below 8GB or so which is a bit strange given I have 48GB of VRAM on the GPU but this is manageable with chunked recon.
Any advice for what may be going on appreciated, been confusing me for a couple of days now, Thanks!
Build cuda_12.5.r12.5/compiler.34177558_0
tigre 2.6 np126py312h9bba915_0 ccpi
cil 24.2.0 np126py312_0 ccpi
Beta Was this translation helpful? Give feedback.
All reactions