--- math_functions.h.orig 2026-10-08 16:54:22.188939419 +0300 +++ math_functions.h 2026-10-08 16:25:45.772064018 +0300 @@ -626,7 +626,7 @@ extern __DEVICE_FUNCTIONS_DECL__ __devic * * \note_accuracy_double */ -extern __DEVICE_FUNCTIONS_DECL__ __device_builtin__ double rsqrt(double x); +extern __DEVICE_FUNCTIONS_DECL__ __device_builtin__ double rsqrt(double x) noexcept(true); /** * \ingroup CUDA_MATH_SINGLE @@ -650,7 +650,7 @@ extern __DEVICE_FUNCTIONS_DECL__ __devic * * \note_accuracy_single */ -extern __DEVICE_FUNCTIONS_DECL__ __device_builtin__ float rsqrtf(float x); +extern __DEVICE_FUNCTIONS_DECL__ __device_builtin__ float rsqrtf(float x) noexcept(true); #if defined(__QNX__) && !defined(_LIBCPP_VERSION) namespace std { @@ -6043,7 +6043,7 @@ inline __device__ void *__nv_aligned_dev #endif /* _WIN32 */ -__func__(double rsqrt(double a)); +__func__(double rsqrt(double a) noexcept(true)); __func__(double rcbrt(double a)); @@ -6069,7 +6069,7 @@ __func__(double normcdf(double a)); __func__(double erfcx(double a)); -__func__(float rsqrtf(float a)); +__func__(float rsqrtf(float a) noexcept(true)); __func__(float rcbrtf(float a));