◐ Shell
clean mode source ↗

cuda: guard removed cuFFT error enums by LwhJesse · Pull Request #3706 · arrayfire/arrayfire

This PR guards legacy cuFFT error enum case labels that are no longer defined by newer CUDA headers.

When the enums exist, the existing error messages are preserved. When newer CUDA headers no longer define them, the corresponding case labels are skipped so the CUDA backend can compile.

This is a build-compatibility fix and does not change behavior for CUDA versions where those enums are still available.