Skip to content

Conversation

@kennykos
Copy link
Collaborator

Implement the following Kokkos functions found in kokkos/core/src/Kokkos_MathematicalFunctions.hpp:

  • erf
  • erfc
  • tgamma
  • lgamma

kennykos and others added 2 commits January 28, 2025 08:25
Kokkos functions in kokkos/core/src/Kokkos_MathematicalFunctions.hpp
Implemented:
 * erf
 * erfc
 * tgamma
 * lgamma
* The inverse/reciprocal sqrt function in Kokkos is called rsqrt, not isqrt,
	hence, the pk.isqrt() call has no Kokkos bindings, while the call
	pk.rsqrt() does
* Making change on this branch as the bus is in the same file as error
	and gamma functions
Copy link
Collaborator

@IvanGrigorik IvanGrigorik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@IvanGrigorik IvanGrigorik merged commit 4b7a83c into kokkos:main Nov 8, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants