Comprehensive list of functions (maths, etc) available in CUDA.jl

That info is not in the docs directly.

For a list of available [math] functions, look at
CUDA.jl/src/device/intrinsics/math.jl

CUDA.jl: exported math functions (incomplete)

isinf, isnan, isfinite,
signbit, copysign, ldexp, max, min
+, -, *, /, ^
round, ceil, floor
abs, abs2, mod, rem, sqrt, hypot, fma
exp, exp2, exp10, expm1
log, log10, log1p
sin, cos, tan, asin, acos, atan,
sinpi, cospi, sincos, sincospi,
sinh, cosh, tanh, asinh, acosh, atanh
angle, erf, loggama, normcdf, normcdfinv

1 Like