I compiled ITK 5.4.3 and RTK 2.7.0 with CUDA 12.3 support (NVIDIA driver updated). Build confirmation:
- •
RTK_USE_CUDA=ON
in CMake
- •
RTK_USE_CUDA
macro defined in code
- •
No errors during compilation, RTKCuda
libraries generated successfully.
Observed Issue:
Near-zero GPU utilization during reconstruction (via nvidia-smi
).
Progress log shows:
FDKConeBeamReconstructionFilter 100% completed.
instead of CudaFDKConeBeamReconstructionFilter
.
Debugging Attempts:
- •
Validated CUDA: nvcc --version
returns 12.3, CUDA samples run normally.
- •
Checked code: Confirmed reconstruction calls rtk::FDKConeBeamReconstructionFilter
, not manually selecting CPU version.
- •
Environment: CUDA_VISIBLE_DEVICES=0
set.
Question:
Is RTK internally falling back to CPU? Or is there a hidden configuration issue?
Any troubleshooting guidance is appreciated!