Enabling ROCm support for AMD GPUs in SpFFT
This merge request adds ROCm support for AMD GPUs by:
- Adding
librocfft-dev,libhipfft-dev, andhipccas build dependencies indebian/controlfile, limited to amd64, arm64, ppc64el. - Setting
SPFFT_GPU_BACKEND=ROCMindebian/rulesfile, guarded against unsupported architectures.
I've successfully built the package on Debian Unstable with these changes and verified that it functions correctly with GPU-accelerated FFT operations and doesn't affect standard operations. Additionally, I've made sure that the package is built for all compatible GPU architectures.
Edited by Utkarsh Raj