Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed dace::math::pi and dace::math::nan on GPU #1759

Merged
merged 7 commits into from
Nov 15, 2024

Conversation

philip-paul-mueller
Copy link
Collaborator

Both $\pi$ and NaN are implemented as classes in DaCe.
However, these classes where not marked as device, thus they are only available on the host.

This PR:

  • Fixes this for NaN and $\pi$.
  • Extend the implementation.
  • Adds tests for them.

@philip-paul-mueller philip-paul-mueller changed the title Fixed dace::math::pi and dace::math::nan on GPU. Fixed dace::math::pi and dace::math::nan on GPU Nov 14, 2024
@tbennun tbennun enabled auto-merge November 14, 2024 16:09
@tbennun tbennun added this pull request to the merge queue Nov 15, 2024
Merged via the queue into spcl:main with commit f757687 Nov 15, 2024
10 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