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

math/abs: Added trait specialisation for double. #862

Merged
merged 3 commits into from
Oct 24, 2019

Conversation

jkrude
Copy link
Contributor

@jkrude jkrude commented Oct 18, 2019

In include/alpaka/math/abs:
Int is also supported in cuda/hip, so fabs is used for double type.
abs for int
fabs for double <-- was missing
fabsf for float

Int is also supported in cuda/hip, so fmod is used for double type.
BenjaminW3
BenjaminW3 previously approved these changes Oct 18, 2019
ax3l
ax3l previously approved these changes Oct 22, 2019
@ax3l ax3l added the Type:Bug label Oct 22, 2019
@ax3l ax3l self-requested a review October 22, 2019 14:09
Included commit suggestion from Axel Huebl

Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja>
@jkrude jkrude dismissed stale reviews from ax3l and BenjaminW3 via 79fd778 October 23, 2019 07:43
@psychocoderHPC
Copy link
Member

@jkrude I stopped the CI because the first tests failed so that we can test also other pull requests:

errors:

@psychocoderHPC psychocoderHPC added this to the Version 0.4.0 milestone Oct 24, 2019
@psychocoderHPC psychocoderHPC self-assigned this Oct 24, 2019
@psychocoderHPC psychocoderHPC added this to To do in 0.3.6 Backports via automation Oct 24, 2019
@psychocoderHPC psychocoderHPC merged commit d5e5959 into alpaka-group:develop Oct 24, 2019
@psychocoderHPC psychocoderHPC moved this from To do to In progress in 0.3.6 Backports Jan 2, 2020
@psychocoderHPC psychocoderHPC mentioned this pull request Jan 2, 2020
1 task
@BenjaminW3 BenjaminW3 moved this from In progress to Done in 0.3.6 Backports Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants