__clang_cuda_libdevice_declares.h revision 353358
1139749Simp/*===-- __clang_cuda_libdevice_declares.h - decls for libdevice functions --=== 265312Smsmith * 365312Smsmith * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 465312Smsmith * See https://llvm.org/LICENSE.txt for license information. 565312Smsmith * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 665312Smsmith * 765312Smsmith *===-----------------------------------------------------------------------=== 865312Smsmith */ 965312Smsmith 1065312Smsmith#ifndef __CLANG_CUDA_LIBDEVICE_DECLARES_H__ 1165312Smsmith#define __CLANG_CUDA_LIBDEVICE_DECLARES_H__ 1265312Smsmith 1365312Smsmith#if defined(__cplusplus) 1465312Smsmithextern "C" { 1565312Smsmith#endif 1665312Smsmith 1765312Smsmith#if defined(_OPENMP) 1865312Smsmith#define __DEVICE__ 1965312Smsmith#elif defined(__CUDA__) 2065312Smsmith#define __DEVICE__ __device__ 2187826Sobrien#endif 2265312Smsmith 2365312Smsmith__DEVICE__ int __nv_abs(int __a); 2496554Sobrien__DEVICE__ double __nv_acos(double __a); 2596554Sobrien__DEVICE__ float __nv_acosf(float __a); 2665312Smsmith__DEVICE__ double __nv_acosh(double __a); 2765312Smsmith__DEVICE__ float __nv_acoshf(float __a); 2865312Smsmith__DEVICE__ double __nv_asin(double __a); 2965312Smsmith__DEVICE__ float __nv_asinf(float __a); 3065312Smsmith__DEVICE__ double __nv_asinh(double __a); 3165312Smsmith__DEVICE__ float __nv_asinhf(float __a); 3296554Sobrien__DEVICE__ double __nv_atan2(double __a, double __b); 3365312Smsmith__DEVICE__ float __nv_atan2f(float __a, float __b); 3465312Smsmith__DEVICE__ double __nv_atan(double __a); 3565312Smsmith__DEVICE__ float __nv_atanf(float __a); 3696554Sobrien__DEVICE__ double __nv_atanh(double __a); 3796554Sobrien__DEVICE__ float __nv_atanhf(float __a); 3896554Sobrien__DEVICE__ int __nv_brev(int __a); 3996554Sobrien__DEVICE__ long long __nv_brevll(long long __a); 4065312Smsmith__DEVICE__ int __nv_byte_perm(int __a, int __b, int __c); 4196554Sobrien__DEVICE__ double __nv_cbrt(double __a); 4296554Sobrien__DEVICE__ float __nv_cbrtf(float __a); 4365312Smsmith__DEVICE__ double __nv_ceil(double __a); 4465312Smsmith__DEVICE__ float __nv_ceilf(float __a); 4565312Smsmith__DEVICE__ int __nv_clz(int __a); 4665312Smsmith__DEVICE__ int __nv_clzll(long long __a); 4765312Smsmith__DEVICE__ double __nv_copysign(double __a, double __b); 4865312Smsmith__DEVICE__ float __nv_copysignf(float __a, float __b); 4965312Smsmith__DEVICE__ double __nv_cos(double __a); 5065312Smsmith__DEVICE__ float __nv_cosf(float __a); 5165312Smsmith__DEVICE__ double __nv_cosh(double __a); 5265312Smsmith__DEVICE__ float __nv_coshf(float __a); 5365312Smsmith__DEVICE__ double __nv_cospi(double __a); 5465312Smsmith__DEVICE__ float __nv_cospif(float __a); 5596554Sobrien__DEVICE__ double __nv_cyl_bessel_i0(double __a); 5665312Smsmith__DEVICE__ float __nv_cyl_bessel_i0f(float __a); 5765312Smsmith__DEVICE__ double __nv_cyl_bessel_i1(double __a); 5896554Sobrien__DEVICE__ float __nv_cyl_bessel_i1f(float __a); 5965312Smsmith__DEVICE__ double __nv_dadd_rd(double __a, double __b); 6096554Sobrien__DEVICE__ double __nv_dadd_rn(double __a, double __b); 6165312Smsmith__DEVICE__ double __nv_dadd_ru(double __a, double __b); 6265312Smsmith__DEVICE__ double __nv_dadd_rz(double __a, double __b); 6396554Sobrien__DEVICE__ double __nv_ddiv_rd(double __a, double __b); 6465312Smsmith__DEVICE__ double __nv_ddiv_rn(double __a, double __b); 6565312Smsmith__DEVICE__ double __nv_ddiv_ru(double __a, double __b); 6665312Smsmith__DEVICE__ double __nv_ddiv_rz(double __a, double __b); 6796614Sobrien__DEVICE__ double __nv_dmul_rd(double __a, double __b); 6865312Smsmith__DEVICE__ double __nv_dmul_rn(double __a, double __b); 6965312Smsmith__DEVICE__ double __nv_dmul_ru(double __a, double __b); 7065312Smsmith__DEVICE__ double __nv_dmul_rz(double __a, double __b); 7196554Sobrien__DEVICE__ float __nv_double2float_rd(double __a); 7296554Sobrien__DEVICE__ float __nv_double2float_rn(double __a); 7365312Smsmith__DEVICE__ float __nv_double2float_ru(double __a); 7465312Smsmith__DEVICE__ float __nv_double2float_rz(double __a); 7565312Smsmith__DEVICE__ int __nv_double2hiint(double __a); 7665312Smsmith__DEVICE__ int __nv_double2int_rd(double __a); 7765312Smsmith__DEVICE__ int __nv_double2int_rn(double __a); 7865312Smsmith__DEVICE__ int __nv_double2int_ru(double __a); 7965312Smsmith__DEVICE__ int __nv_double2int_rz(double __a); 8096554Sobrien__DEVICE__ long long __nv_double2ll_rd(double __a); 8165312Smsmith__DEVICE__ long long __nv_double2ll_rn(double __a); 8265312Smsmith__DEVICE__ long long __nv_double2ll_ru(double __a); 8365312Smsmith__DEVICE__ long long __nv_double2ll_rz(double __a); 8465312Smsmith__DEVICE__ int __nv_double2loint(double __a); 8596554Sobrien__DEVICE__ unsigned int __nv_double2uint_rd(double __a); 8665312Smsmith__DEVICE__ unsigned int __nv_double2uint_rn(double __a); 8765312Smsmith__DEVICE__ unsigned int __nv_double2uint_ru(double __a); 8865312Smsmith__DEVICE__ unsigned int __nv_double2uint_rz(double __a); 8965312Smsmith__DEVICE__ unsigned long long __nv_double2ull_rd(double __a); 9065312Smsmith__DEVICE__ unsigned long long __nv_double2ull_rn(double __a); 9196554Sobrien__DEVICE__ unsigned long long __nv_double2ull_ru(double __a); 9296554Sobrien__DEVICE__ unsigned long long __nv_double2ull_rz(double __a); 9396554Sobrien__DEVICE__ unsigned long long __nv_double_as_longlong(double __a); 9465312Smsmith__DEVICE__ double __nv_drcp_rd(double __a); 9596554Sobrien__DEVICE__ double __nv_drcp_rn(double __a); 9665312Smsmith__DEVICE__ double __nv_drcp_ru(double __a); 9787826Sobrien__DEVICE__ double __nv_drcp_rz(double __a); 9865312Smsmith__DEVICE__ double __nv_dsqrt_rd(double __a); 9965312Smsmith__DEVICE__ double __nv_dsqrt_rn(double __a); 10065312Smsmith__DEVICE__ double __nv_dsqrt_ru(double __a); 10187816Sjhb__DEVICE__ double __nv_dsqrt_rz(double __a); 10287826Sobrien__DEVICE__ double __nv_dsub_rd(double __a, double __b); 10365312Smsmith__DEVICE__ double __nv_dsub_rn(double __a, double __b); 10465312Smsmith__DEVICE__ double __nv_dsub_ru(double __a, double __b); 10565312Smsmith__DEVICE__ double __nv_dsub_rz(double __a, double __b); 10665312Smsmith__DEVICE__ double __nv_erfc(double __a); 10765312Smsmith__DEVICE__ float __nv_erfcf(float __a); 10865312Smsmith__DEVICE__ double __nv_erfcinv(double __a); 10965312Smsmith__DEVICE__ float __nv_erfcinvf(float __a); 11065312Smsmith__DEVICE__ double __nv_erfcx(double __a); 11165312Smsmith__DEVICE__ float __nv_erfcxf(float __a); 11265312Smsmith__DEVICE__ double __nv_erf(double __a); 11365312Smsmith__DEVICE__ float __nv_erff(float __a); 11465312Smsmith__DEVICE__ double __nv_erfinv(double __a); 11565312Smsmith__DEVICE__ float __nv_erfinvf(float __a); 11696554Sobrien__DEVICE__ double __nv_exp10(double __a); 11765312Smsmith__DEVICE__ float __nv_exp10f(float __a); 11865312Smsmith__DEVICE__ double __nv_exp2(double __a); 11965312Smsmith__DEVICE__ float __nv_exp2f(float __a); 12065312Smsmith__DEVICE__ double __nv_exp(double __a); 12165312Smsmith__DEVICE__ float __nv_expf(float __a); 12296615Sobrien__DEVICE__ double __nv_expm1(double __a); 12396615Sobrien__DEVICE__ float __nv_expm1f(float __a); 12496615Sobrien__DEVICE__ double __nv_fabs(double __a); 12596615Sobrien__DEVICE__ float __nv_fabsf(float __a); 12696615Sobrien__DEVICE__ float __nv_fadd_rd(float __a, float __b); 12796615Sobrien__DEVICE__ float __nv_fadd_rn(float __a, float __b); 12896615Sobrien__DEVICE__ float __nv_fadd_ru(float __a, float __b); 12996615Sobrien__DEVICE__ float __nv_fadd_rz(float __a, float __b); 13096615Sobrien__DEVICE__ float __nv_fast_cosf(float __a); 13165312Smsmith__DEVICE__ float __nv_fast_exp10f(float __a); 13296615Sobrien__DEVICE__ float __nv_fast_expf(float __a); 13396615Sobrien__DEVICE__ float __nv_fast_fdividef(float __a, float __b); 13465312Smsmith__DEVICE__ float __nv_fast_log10f(float __a); 13565312Smsmith__DEVICE__ float __nv_fast_log2f(float __a); 13696615Sobrien__DEVICE__ float __nv_fast_logf(float __a); 13796615Sobrien__DEVICE__ float __nv_fast_powf(float __a, float __b); 13896615Sobrien__DEVICE__ void __nv_fast_sincosf(float __a, float *__s, float *__c); 13996615Sobrien__DEVICE__ float __nv_fast_sinf(float __a); 14065312Smsmith__DEVICE__ float __nv_fast_tanf(float __a); 14196554Sobrien__DEVICE__ double __nv_fdim(double __a, double __b); 14265312Smsmith__DEVICE__ float __nv_fdimf(float __a, float __b); 14365312Smsmith__DEVICE__ float __nv_fdiv_rd(float __a, float __b); 14465312Smsmith__DEVICE__ float __nv_fdiv_rn(float __a, float __b); 14565312Smsmith__DEVICE__ float __nv_fdiv_ru(float __a, float __b); 14665312Smsmith__DEVICE__ float __nv_fdiv_rz(float __a, float __b); 14796554Sobrien__DEVICE__ int __nv_ffs(int __a); 14896554Sobrien__DEVICE__ int __nv_ffsll(long long __a); 14996554Sobrien__DEVICE__ int __nv_finitef(float __a); 15096554Sobrien__DEVICE__ unsigned short __nv_float2half_rn(float __a); 15196554Sobrien__DEVICE__ int __nv_float2int_rd(float __a); 15296554Sobrien__DEVICE__ int __nv_float2int_rn(float __a); 15396554Sobrien__DEVICE__ int __nv_float2int_ru(float __a); 15496554Sobrien__DEVICE__ int __nv_float2int_rz(float __a); 15596554Sobrien__DEVICE__ long long __nv_float2ll_rd(float __a); 15696554Sobrien__DEVICE__ long long __nv_float2ll_rn(float __a); 15796554Sobrien__DEVICE__ long long __nv_float2ll_ru(float __a); 15896554Sobrien__DEVICE__ long long __nv_float2ll_rz(float __a); 15996554Sobrien__DEVICE__ unsigned int __nv_float2uint_rd(float __a); 16096554Sobrien__DEVICE__ unsigned int __nv_float2uint_rn(float __a); 16196554Sobrien__DEVICE__ unsigned int __nv_float2uint_ru(float __a); 16265312Smsmith__DEVICE__ unsigned int __nv_float2uint_rz(float __a); 16396554Sobrien__DEVICE__ unsigned long long __nv_float2ull_rd(float __a); 16496554Sobrien__DEVICE__ unsigned long long __nv_float2ull_rn(float __a); 16596554Sobrien__DEVICE__ unsigned long long __nv_float2ull_ru(float __a); 16665312Smsmith__DEVICE__ unsigned long long __nv_float2ull_rz(float __a); 16796554Sobrien__DEVICE__ int __nv_float_as_int(float __a); 16896554Sobrien__DEVICE__ unsigned int __nv_float_as_uint(float __a); 16996554Sobrien__DEVICE__ double __nv_floor(double __a); 17065312Smsmith__DEVICE__ float __nv_floorf(float __a); 17196554Sobrien__DEVICE__ double __nv_fma(double __a, double __b, double __c); 17265312Smsmith__DEVICE__ float __nv_fmaf(float __a, float __b, float __c); 17396554Sobrien__DEVICE__ float __nv_fmaf_ieee_rd(float __a, float __b, float __c); 17465312Smsmith__DEVICE__ float __nv_fmaf_ieee_rn(float __a, float __b, float __c); 17587826Sobrien__DEVICE__ float __nv_fmaf_ieee_ru(float __a, float __b, float __c); 17665312Smsmith__DEVICE__ float __nv_fmaf_ieee_rz(float __a, float __b, float __c); 17765312Smsmith__DEVICE__ float __nv_fmaf_rd(float __a, float __b, float __c); 17865312Smsmith__DEVICE__ float __nv_fmaf_rn(float __a, float __b, float __c); 17987816Sjhb__DEVICE__ float __nv_fmaf_ru(float __a, float __b, float __c); 18087826Sobrien__DEVICE__ float __nv_fmaf_rz(float __a, float __b, float __c); 18165312Smsmith__DEVICE__ double __nv_fma_rd(double __a, double __b, double __c); 18265312Smsmith__DEVICE__ double __nv_fma_rn(double __a, double __b, double __c); 18365312Smsmith__DEVICE__ double __nv_fma_ru(double __a, double __b, double __c); 18465312Smsmith__DEVICE__ double __nv_fma_rz(double __a, double __b, double __c); 18565312Smsmith__DEVICE__ double __nv_fmax(double __a, double __b); 18665312Smsmith__DEVICE__ float __nv_fmaxf(float __a, float __b); 18765312Smsmith__DEVICE__ double __nv_fmin(double __a, double __b); 18865312Smsmith__DEVICE__ float __nv_fminf(float __a, float __b); 18965312Smsmith__DEVICE__ double __nv_fmod(double __a, double __b); 19065312Smsmith__DEVICE__ float __nv_fmodf(float __a, float __b); 19165312Smsmith__DEVICE__ float __nv_fmul_rd(float __a, float __b); 19265312Smsmith__DEVICE__ float __nv_fmul_rn(float __a, float __b); 19365312Smsmith__DEVICE__ float __nv_fmul_ru(float __a, float __b); 19496554Sobrien__DEVICE__ float __nv_fmul_rz(float __a, float __b); 19565312Smsmith__DEVICE__ float __nv_frcp_rd(float __a); 19665312Smsmith__DEVICE__ float __nv_frcp_rn(float __a); 19765312Smsmith__DEVICE__ float __nv_frcp_ru(float __a); 19865312Smsmith__DEVICE__ float __nv_frcp_rz(float __a); 19965312Smsmith__DEVICE__ double __nv_frexp(double __a, int *__b); 20096615Sobrien__DEVICE__ float __nv_frexpf(float __a, int *__b); 20196615Sobrien__DEVICE__ float __nv_frsqrt_rn(float __a); 20265312Smsmith__DEVICE__ float __nv_fsqrt_rd(float __a); 20396554Sobrien__DEVICE__ float __nv_fsqrt_rn(float __a); 20465312Smsmith__DEVICE__ float __nv_fsqrt_ru(float __a); 20565312Smsmith__DEVICE__ float __nv_fsqrt_rz(float __a); 20665312Smsmith__DEVICE__ float __nv_fsub_rd(float __a, float __b); 20765312Smsmith__DEVICE__ float __nv_fsub_rn(float __a, float __b); 20865312Smsmith__DEVICE__ float __nv_fsub_ru(float __a, float __b); 20996554Sobrien__DEVICE__ float __nv_fsub_rz(float __a, float __b); 21096554Sobrien__DEVICE__ int __nv_hadd(int __a, int __b); 21196554Sobrien__DEVICE__ float __nv_half2float(unsigned short __h); 21296554Sobrien__DEVICE__ double __nv_hiloint2double(int __a, int __b); 21365312Smsmith__DEVICE__ double __nv_hypot(double __a, double __b); 21496554Sobrien__DEVICE__ float __nv_hypotf(float __a, float __b); 21565312Smsmith__DEVICE__ int __nv_ilogb(double __a); 21687826Sobrien__DEVICE__ int __nv_ilogbf(float __a); 21765312Smsmith__DEVICE__ double __nv_int2double_rn(int __a); 21865312Smsmith__DEVICE__ float __nv_int2float_rd(int __a); 21965312Smsmith__DEVICE__ float __nv_int2float_rn(int __a); 22087816Sjhb__DEVICE__ float __nv_int2float_ru(int __a); 22187826Sobrien__DEVICE__ float __nv_int2float_rz(int __a); 22265312Smsmith__DEVICE__ float __nv_int_as_float(int __a); 22365312Smsmith__DEVICE__ int __nv_isfinited(double __a); 22465312Smsmith__DEVICE__ int __nv_isinfd(double __a); 22565312Smsmith__DEVICE__ int __nv_isinff(float __a); 22665312Smsmith__DEVICE__ int __nv_isnand(double __a); 22765312Smsmith__DEVICE__ int __nv_isnanf(float __a); 22865312Smsmith__DEVICE__ double __nv_j0(double __a); 22965312Smsmith__DEVICE__ float __nv_j0f(float __a); 23065312Smsmith__DEVICE__ double __nv_j1(double __a); 23165312Smsmith__DEVICE__ float __nv_j1f(float __a); 23265312Smsmith__DEVICE__ float __nv_jnf(int __a, float __b); 23365312Smsmith__DEVICE__ double __nv_jn(int __a, double __b); 23465312Smsmith__DEVICE__ double __nv_ldexp(double __a, int __b); 23596554Sobrien__DEVICE__ float __nv_ldexpf(float __a, int __b); 23665312Smsmith__DEVICE__ double __nv_lgamma(double __a); 23765312Smsmith__DEVICE__ float __nv_lgammaf(float __a); 23865312Smsmith__DEVICE__ double __nv_ll2double_rd(long long __a); 23965312Smsmith__DEVICE__ double __nv_ll2double_rn(long long __a); 24096554Sobrien__DEVICE__ double __nv_ll2double_ru(long long __a); 24165312Smsmith__DEVICE__ double __nv_ll2double_rz(long long __a); 24265312Smsmith__DEVICE__ float __nv_ll2float_rd(long long __a); 24365312Smsmith__DEVICE__ float __nv_ll2float_rn(long long __a); 24465312Smsmith__DEVICE__ float __nv_ll2float_ru(long long __a); 24565312Smsmith__DEVICE__ float __nv_ll2float_rz(long long __a); 24696554Sobrien__DEVICE__ long long __nv_llabs(long long __a); 24796554Sobrien__DEVICE__ long long __nv_llmax(long long __a, long long __b); 24896554Sobrien__DEVICE__ long long __nv_llmin(long long __a, long long __b); 24996554Sobrien__DEVICE__ long long __nv_llrint(double __a); 25096554Sobrien__DEVICE__ long long __nv_llrintf(float __a); 25196554Sobrien__DEVICE__ long long __nv_llround(double __a); 25296554Sobrien__DEVICE__ long long __nv_llroundf(float __a); 25396554Sobrien__DEVICE__ double __nv_log10(double __a); 25496554Sobrien__DEVICE__ float __nv_log10f(float __a); 25596554Sobrien__DEVICE__ double __nv_log1p(double __a); 25696554Sobrien__DEVICE__ float __nv_log1pf(float __a); 25765312Smsmith__DEVICE__ double __nv_log2(double __a); 25896554Sobrien__DEVICE__ float __nv_log2f(float __a); 25996554Sobrien__DEVICE__ double __nv_logb(double __a); 26096554Sobrien__DEVICE__ float __nv_logbf(float __a); 26165312Smsmith__DEVICE__ double __nv_log(double __a); 26296554Sobrien__DEVICE__ float __nv_logf(float __a); 26365312Smsmith__DEVICE__ double __nv_longlong_as_double(long long __a); 26487826Sobrien__DEVICE__ int __nv_max(int __a, int __b); 26565312Smsmith__DEVICE__ int __nv_min(int __a, int __b); 26665312Smsmith__DEVICE__ double __nv_modf(double __a, double *__b); 26765312Smsmith__DEVICE__ float __nv_modff(float __a, float *__b); 26887816Sjhb__DEVICE__ int __nv_mul24(int __a, int __b); 26987826Sobrien__DEVICE__ long long __nv_mul64hi(long long __a, long long __b); 27065312Smsmith__DEVICE__ int __nv_mulhi(int __a, int __b); 27165312Smsmith__DEVICE__ double __nv_nan(const signed char *__a); 27265312Smsmith__DEVICE__ float __nv_nanf(const signed char *__a); 27365312Smsmith__DEVICE__ double __nv_nearbyint(double __a); 27465312Smsmith__DEVICE__ float __nv_nearbyintf(float __a); 27565312Smsmith__DEVICE__ double __nv_nextafter(double __a, double __b); 27665312Smsmith__DEVICE__ float __nv_nextafterf(float __a, float __b); 27765312Smsmith__DEVICE__ double __nv_norm3d(double __a, double __b, double __c); 27865312Smsmith__DEVICE__ float __nv_norm3df(float __a, float __b, float __c); 27965312Smsmith__DEVICE__ double __nv_norm4d(double __a, double __b, double __c, double __d); 28065312Smsmith__DEVICE__ float __nv_norm4df(float __a, float __b, float __c, float __d); 28165312Smsmith__DEVICE__ double __nv_normcdf(double __a); 28265312Smsmith__DEVICE__ float __nv_normcdff(float __a); 28396554Sobrien__DEVICE__ double __nv_normcdfinv(double __a); 28465312Smsmith__DEVICE__ float __nv_normcdfinvf(float __a); 28565312Smsmith__DEVICE__ float __nv_normf(int __a, const float *__b); 28665312Smsmith__DEVICE__ double __nv_norm(int __a, const double *__b); 28765312Smsmith__DEVICE__ int __nv_popc(int __a); 28896554Sobrien__DEVICE__ int __nv_popcll(long long __a); 28965312Smsmith__DEVICE__ double __nv_pow(double __a, double __b); 29065312Smsmith__DEVICE__ float __nv_powf(float __a, float __b); 29165312Smsmith__DEVICE__ double __nv_powi(double __a, int __b); 29265312Smsmith__DEVICE__ float __nv_powif(float __a, int __b); 29365312Smsmith__DEVICE__ double __nv_rcbrt(double __a); 29496554Sobrien__DEVICE__ float __nv_rcbrtf(float __a); 29565312Smsmith__DEVICE__ double __nv_rcp64h(double __a); 29696554Sobrien__DEVICE__ double __nv_remainder(double __a, double __b); 29765312Smsmith__DEVICE__ float __nv_remainderf(float __a, float __b); 29887826Sobrien__DEVICE__ double __nv_remquo(double __a, double __b, int *__c); 29965312Smsmith__DEVICE__ float __nv_remquof(float __a, float __b, int *__c); 30065312Smsmith__DEVICE__ int __nv_rhadd(int __a, int __b); 30165312Smsmith__DEVICE__ double __nv_rhypot(double __a, double __b); 30287816Sjhb__DEVICE__ float __nv_rhypotf(float __a, float __b); 30387826Sobrien__DEVICE__ double __nv_rint(double __a); 30465312Smsmith__DEVICE__ float __nv_rintf(float __a); 30565312Smsmith__DEVICE__ double __nv_rnorm3d(double __a, double __b, double __c); 30665312Smsmith__DEVICE__ float __nv_rnorm3df(float __a, float __b, float __c); 30765312Smsmith__DEVICE__ double __nv_rnorm4d(double __a, double __b, double __c, double __d); 30865312Smsmith__DEVICE__ float __nv_rnorm4df(float __a, float __b, float __c, float __d); 30965312Smsmith__DEVICE__ float __nv_rnormf(int __a, const float *__b); 31065312Smsmith__DEVICE__ double __nv_rnorm(int __a, const double *__b); 31165312Smsmith__DEVICE__ double __nv_round(double __a); 31265312Smsmith__DEVICE__ float __nv_roundf(float __a); 31365312Smsmith__DEVICE__ double __nv_rsqrt(double __a); 31465312Smsmith__DEVICE__ float __nv_rsqrtf(float __a); 31565312Smsmith__DEVICE__ int __nv_sad(int __a, int __b, int __c); 31665312Smsmith__DEVICE__ float __nv_saturatef(float __a); 31796554Sobrien__DEVICE__ double __nv_scalbn(double __a, int __b); 31865312Smsmith__DEVICE__ float __nv_scalbnf(float __a, int __b); 31965312Smsmith__DEVICE__ int __nv_signbitd(double __a); 32065312Smsmith__DEVICE__ int __nv_signbitf(float __a); 32165312Smsmith__DEVICE__ void __nv_sincos(double __a, double *__b, double *__c); 32296554Sobrien__DEVICE__ void __nv_sincosf(float __a, float *__b, float *__c); 32365312Smsmith__DEVICE__ void __nv_sincospi(double __a, double *__b, double *__c); 32465312Smsmith__DEVICE__ void __nv_sincospif(float __a, float *__b, float *__c); 32565312Smsmith__DEVICE__ double __nv_sin(double __a); 32665312Smsmith__DEVICE__ float __nv_sinf(float __a); 32765312Smsmith__DEVICE__ double __nv_sinh(double __a); 32896554Sobrien__DEVICE__ float __nv_sinhf(float __a); 32965312Smsmith__DEVICE__ double __nv_sinpi(double __a); 33096554Sobrien__DEVICE__ float __nv_sinpif(float __a); 33165312Smsmith__DEVICE__ double __nv_sqrt(double __a); 33287826Sobrien__DEVICE__ float __nv_sqrtf(float __a); 33365312Smsmith__DEVICE__ double __nv_tan(double __a); 33465312Smsmith__DEVICE__ float __nv_tanf(float __a); 33565312Smsmith__DEVICE__ double __nv_tanh(double __a); 33687816Sjhb__DEVICE__ float __nv_tanhf(float __a); 33787826Sobrien__DEVICE__ double __nv_tgamma(double __a); 33865312Smsmith__DEVICE__ float __nv_tgammaf(float __a); 33965312Smsmith__DEVICE__ double __nv_trunc(double __a); 34065312Smsmith__DEVICE__ float __nv_truncf(float __a); 34165312Smsmith__DEVICE__ int __nv_uhadd(unsigned int __a, unsigned int __b); 34265312Smsmith__DEVICE__ double __nv_uint2double_rn(unsigned int __i); 34365312Smsmith__DEVICE__ float __nv_uint2float_rd(unsigned int __a); 34465312Smsmith__DEVICE__ float __nv_uint2float_rn(unsigned int __a); 34565312Smsmith__DEVICE__ float __nv_uint2float_ru(unsigned int __a); 34665312Smsmith__DEVICE__ float __nv_uint2float_rz(unsigned int __a); 34765312Smsmith__DEVICE__ float __nv_uint_as_float(unsigned int __a); 34865312Smsmith__DEVICE__ double __nv_ull2double_rd(unsigned long long __a); 34965312Smsmith__DEVICE__ double __nv_ull2double_rn(unsigned long long __a); 35065312Smsmith__DEVICE__ double __nv_ull2double_ru(unsigned long long __a); 35196554Sobrien__DEVICE__ double __nv_ull2double_rz(unsigned long long __a); 35265312Smsmith__DEVICE__ float __nv_ull2float_rd(unsigned long long __a); 35365312Smsmith__DEVICE__ float __nv_ull2float_rn(unsigned long long __a); 35465312Smsmith__DEVICE__ float __nv_ull2float_ru(unsigned long long __a); 35565312Smsmith__DEVICE__ float __nv_ull2float_rz(unsigned long long __a); 35696554Sobrien__DEVICE__ unsigned long long __nv_ullmax(unsigned long long __a, 35765312Smsmith unsigned long long __b); 35865312Smsmith__DEVICE__ unsigned long long __nv_ullmin(unsigned long long __a, 35965312Smsmith unsigned long long __b); 36065312Smsmith__DEVICE__ unsigned int __nv_umax(unsigned int __a, unsigned int __b); 36165312Smsmith__DEVICE__ unsigned int __nv_umin(unsigned int __a, unsigned int __b); 36296554Sobrien__DEVICE__ unsigned int __nv_umul24(unsigned int __a, unsigned int __b); 36365312Smsmith__DEVICE__ unsigned long long __nv_umul64hi(unsigned long long __a, 36496554Sobrien unsigned long long __b); 36565312Smsmith__DEVICE__ unsigned int __nv_umulhi(unsigned int __a, unsigned int __b); 36687826Sobrien__DEVICE__ unsigned int __nv_urhadd(unsigned int __a, unsigned int __b); 36765312Smsmith__DEVICE__ unsigned int __nv_usad(unsigned int __a, unsigned int __b, 36865312Smsmith unsigned int __c); 36965312Smsmith#if CUDA_VERSION >= 9000 && CUDA_VERSION < 9020 37087816Sjhb__DEVICE__ int __nv_vabs2(int __a); 37187826Sobrien__DEVICE__ int __nv_vabs4(int __a); 37265312Smsmith__DEVICE__ int __nv_vabsdiffs2(int __a, int __b); 37365312Smsmith__DEVICE__ int __nv_vabsdiffs4(int __a, int __b); 37465312Smsmith__DEVICE__ int __nv_vabsdiffu2(int __a, int __b); 37565312Smsmith__DEVICE__ int __nv_vabsdiffu4(int __a, int __b); 37665312Smsmith__DEVICE__ int __nv_vabsss2(int __a); 37765312Smsmith__DEVICE__ int __nv_vabsss4(int __a); 37865312Smsmith__DEVICE__ int __nv_vadd2(int __a, int __b); 37965312Smsmith__DEVICE__ int __nv_vadd4(int __a, int __b); 38065312Smsmith__DEVICE__ int __nv_vaddss2(int __a, int __b); 38165312Smsmith__DEVICE__ int __nv_vaddss4(int __a, int __b); 38265312Smsmith__DEVICE__ int __nv_vaddus2(int __a, int __b); 38365312Smsmith__DEVICE__ int __nv_vaddus4(int __a, int __b); 38465312Smsmith__DEVICE__ int __nv_vavgs2(int __a, int __b); 38596554Sobrien__DEVICE__ int __nv_vavgs4(int __a, int __b); 38665312Smsmith__DEVICE__ int __nv_vavgu2(int __a, int __b); 38765312Smsmith__DEVICE__ int __nv_vavgu4(int __a, int __b); 38865312Smsmith__DEVICE__ int __nv_vcmpeq2(int __a, int __b); 38965312Smsmith__DEVICE__ int __nv_vcmpeq4(int __a, int __b); 39096554Sobrien__DEVICE__ int __nv_vcmpges2(int __a, int __b); 39165312Smsmith__DEVICE__ int __nv_vcmpges4(int __a, int __b); 39265312Smsmith__DEVICE__ int __nv_vcmpgeu2(int __a, int __b); 39365312Smsmith__DEVICE__ int __nv_vcmpgeu4(int __a, int __b); 39465312Smsmith__DEVICE__ int __nv_vcmpgts2(int __a, int __b); 39565312Smsmith__DEVICE__ int __nv_vcmpgts4(int __a, int __b); 39696554Sobrien__DEVICE__ int __nv_vcmpgtu2(int __a, int __b); 39765312Smsmith__DEVICE__ int __nv_vcmpgtu4(int __a, int __b); 39896554Sobrien__DEVICE__ int __nv_vcmples2(int __a, int __b); 39965312Smsmith__DEVICE__ int __nv_vcmples4(int __a, int __b); 40087826Sobrien__DEVICE__ int __nv_vcmpleu2(int __a, int __b); 40165312Smsmith__DEVICE__ int __nv_vcmpleu4(int __a, int __b); 40265312Smsmith__DEVICE__ int __nv_vcmplts2(int __a, int __b); 40365312Smsmith__DEVICE__ int __nv_vcmplts4(int __a, int __b); 40487816Sjhb__DEVICE__ int __nv_vcmpltu2(int __a, int __b); 40587826Sobrien__DEVICE__ int __nv_vcmpltu4(int __a, int __b); 40665312Smsmith__DEVICE__ int __nv_vcmpne2(int __a, int __b); 40765312Smsmith__DEVICE__ int __nv_vcmpne4(int __a, int __b); 40865312Smsmith__DEVICE__ int __nv_vhaddu2(int __a, int __b); 40965312Smsmith__DEVICE__ int __nv_vhaddu4(int __a, int __b); 41065312Smsmith__DEVICE__ int __nv_vmaxs2(int __a, int __b); 41165312Smsmith__DEVICE__ int __nv_vmaxs4(int __a, int __b); 41265312Smsmith__DEVICE__ int __nv_vmaxu2(int __a, int __b); 41365312Smsmith__DEVICE__ int __nv_vmaxu4(int __a, int __b); 41465312Smsmith__DEVICE__ int __nv_vmins2(int __a, int __b); 41565312Smsmith__DEVICE__ int __nv_vmins4(int __a, int __b); 41696614Sobrien__DEVICE__ int __nv_vminu2(int __a, int __b); 41765312Smsmith__DEVICE__ int __nv_vminu4(int __a, int __b); 41896614Sobrien__DEVICE__ int __nv_vneg2(int __a); 41965312Smsmith__DEVICE__ int __nv_vneg4(int __a); 42065312Smsmith__DEVICE__ int __nv_vnegss2(int __a); 42165312Smsmith__DEVICE__ int __nv_vnegss4(int __a); 42296554Sobrien__DEVICE__ int __nv_vsads2(int __a, int __b); 42396554Sobrien__DEVICE__ int __nv_vsads4(int __a, int __b); 42465312Smsmith__DEVICE__ int __nv_vsadu2(int __a, int __b); 42565312Smsmith__DEVICE__ int __nv_vsadu4(int __a, int __b); 42665312Smsmith__DEVICE__ int __nv_vseteq2(int __a, int __b); 42765312Smsmith__DEVICE__ int __nv_vseteq4(int __a, int __b); 42865312Smsmith__DEVICE__ int __nv_vsetges2(int __a, int __b); 42965312Smsmith__DEVICE__ int __nv_vsetges4(int __a, int __b); 43065312Smsmith__DEVICE__ int __nv_vsetgeu2(int __a, int __b); 43165312Smsmith__DEVICE__ int __nv_vsetgeu4(int __a, int __b); 43265312Smsmith__DEVICE__ int __nv_vsetgts2(int __a, int __b); 43365312Smsmith__DEVICE__ int __nv_vsetgts4(int __a, int __b); 43465312Smsmith__DEVICE__ int __nv_vsetgtu2(int __a, int __b); 43565312Smsmith__DEVICE__ int __nv_vsetgtu4(int __a, int __b); 43665312Smsmith__DEVICE__ int __nv_vsetles2(int __a, int __b); 43765312Smsmith__DEVICE__ int __nv_vsetles4(int __a, int __b); 43865312Smsmith__DEVICE__ int __nv_vsetleu2(int __a, int __b); 43965312Smsmith__DEVICE__ int __nv_vsetleu4(int __a, int __b); 44065312Smsmith__DEVICE__ int __nv_vsetlts2(int __a, int __b); 44165312Smsmith__DEVICE__ int __nv_vsetlts4(int __a, int __b); 44265312Smsmith__DEVICE__ int __nv_vsetltu2(int __a, int __b); 44365312Smsmith__DEVICE__ int __nv_vsetltu4(int __a, int __b); 44465312Smsmith__DEVICE__ int __nv_vsetne2(int __a, int __b); 44565312Smsmith__DEVICE__ int __nv_vsetne4(int __a, int __b); 44665312Smsmith__DEVICE__ int __nv_vsub2(int __a, int __b); 44765312Smsmith__DEVICE__ int __nv_vsub4(int __a, int __b); 44865312Smsmith__DEVICE__ int __nv_vsubss2(int __a, int __b); 44965312Smsmith__DEVICE__ int __nv_vsubss4(int __a, int __b); 45065312Smsmith__DEVICE__ int __nv_vsubus2(int __a, int __b); 45165312Smsmith__DEVICE__ int __nv_vsubus4(int __a, int __b); 45265312Smsmith#endif // CUDA_VERSION 45365312Smsmith__DEVICE__ double __nv_y0(double __a); 45465312Smsmith__DEVICE__ float __nv_y0f(float __a); 45565312Smsmith__DEVICE__ double __nv_y1(double __a); 45665312Smsmith__DEVICE__ float __nv_y1f(float __a); 45765312Smsmith__DEVICE__ float __nv_ynf(int __a, float __b); 45865312Smsmith__DEVICE__ double __nv_yn(int __a, double __b); 45965312Smsmith#if defined(__cplusplus) 46065312Smsmith} // extern "C" 46165312Smsmith#endif 46265312Smsmith#endif // __CLANG_CUDA_LIBDEVICE_DECLARES_H__ 46365312Smsmith