Skip to content

cuda::std::simd Math#8740

Open
fbusato wants to merge 12 commits into
NVIDIA:mainfrom
fbusato:simd-math
Open

cuda::std::simd Math#8740
fbusato wants to merge 12 commits into
NVIDIA:mainfrom
fbusato:simd-math

Conversation

@fbusato
Copy link
Copy Markdown
Contributor

@fbusato fbusato commented Apr 29, 2026

Description

Implement https://eel.is/c++draft/simd#math

Notable differences compared to the standard:

  • Several functions are not constexpr because the corresponding scalar version in cuda/std/cmath is also non-constexpr: exp, log, sqrt, hypot, pow, fma, ceil, floor, round, trunc, lround, llround, ldexp, scalbn, scalbln, nextafter, frexp, remquo, and modf.
  • The following functions are not implemented because the corresponding scalar version is not implemented in cuda/std/cmath: assoc_laguerre, assoc_legendre, sph_legendre, hermite, laguerre, legendre, sph_bessel, sph_neumann, beta, comp_ellint_*, cyl_bessel_*, cyl_neumann, ellint_*, expint, and riemann_zeta.

@fbusato fbusato self-assigned this Apr 29, 2026
@fbusato fbusato requested a review from a team as a code owner April 29, 2026 18:26
@fbusato fbusato requested a review from pciolkosz April 29, 2026 18:26
@fbusato fbusato added the libcu++ For all items related to libcu++ label Apr 29, 2026
@fbusato fbusato added this to CCCL Apr 29, 2026
@github-project-automation github-project-automation Bot moved this to Todo in CCCL Apr 29, 2026
@fbusato fbusato moved this from Todo to In Review in CCCL Apr 29, 2026
@fbusato fbusato mentioned this pull request Apr 29, 2026
16 tasks
@github-actions
Copy link
Copy Markdown
Contributor

😬 CI Workflow Results

🟥 Finished in 2h 35m: Pass: 99%/493 | Total: 17d 06h | Max: 2h 22m | Hits: 77%/611523

See results here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libcu++ For all items related to libcu++

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

1 participant