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

Hi,
After a bit of search, I haven’t been able to find a complete list of functions (particularly, maths functions) natively implemented in CUDA.jl. Sure, obvious ones like cos, sin, sqrt, exp are there, but the only answers I could find here and on the internet are old and often refer to outdated packages prior to CUDA.jl.
Nor have I found the answer in the CUDA.jl docs.

Have I missed something?
Thanks

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

Nowadays it’s not necessary to call these with the CUDA module prefix though, just try and use the Base functionality and see if it works. If it doesn’t, consider looking into why it doesn’t work, or filing an issue on the CUDA.jl repository.

that is advancement!