I compiled ITK 5.4.3 and RTK 2.7.0 with CUDA 12.3 support (NVIDIA driver updated). Build confirmation:
- •
RTK_USE_CUDA=ONin CMake
- •
RTK_USE_CUDAmacro defined in code
- •
No errors during compilation, RTKCudalibraries 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 --versionreturns 12.3, CUDA samples run normally.
- •
Checked code: Confirmed reconstruction calls rtk::FDKConeBeamReconstructionFilter, not manually selecting CPU version.
- •
Environment: CUDA_VISIBLE_DEVICES=0set.
Question:
Is RTK internally falling back to CPU? Or is there a hidden configuration issue?
Any troubleshooting guidance is appreciated!