#include #include #ifdef USE_CUDA #include #endif namespace torchaudio { bool is_rir_available() { #ifdef INCLUDE_RIR return true; #else return false; #endif } bool is_align_available() { #ifdef INCLUDE_ALIGN return true; #else return false; #endif } std::optional cuda_version() { #ifdef USE_CUDA return CUDA_VERSION; #else return {}; #endif } } // namespace torchaudio