Enabling ROCm support for AMD GPUs in SpFFT
This merge request adds ROCm support for AMD GPUs by:
- Adding
librocfft-dev
,libhipfft-dev
, andhipcc
as build dependencies indebian/control
file, limited to amd64, arm64, ppc64el. - Setting
SPFFT_GPU_BACKEND=ROCM
indebian/rules
file, 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