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

Feature/type traits climits #104

Merged
merged 3 commits into from
Jun 24, 2022
Merged

Conversation

maddyscientist
Copy link
Collaborator

@maddyscientist maddyscientist commented May 26, 2022

This PR adds functionality needed for QUDA to Jitify. Once merged into the v1 branch, it should propagated to v2 since this is also a critical PR for RAPIDS which uses the v2 branch.

  • Extends the functionality of type_traits with
    • is_floating_point_v (c 17)
    • is_integral_v (c 17)
    • is_same_v (c 17)
    • is_pointer, is_pointer_v (c 17)
    • remove_pointer
    • is_arithmetic and is_arithmetic_v (c 17)
  • make all now builds jitify_test as well as jitify_example
  • Fix: the presence of __LP64__ should be checked for when deciding on word size
  • Fix: align the definitions of the climits built in to match those in libcu
  • Add test BuiltinNumericCudaStdLimitsHeader which mimics BuiltinNumericLimitsHeader but uses libcu

@benbarsdell benbarsdell merged commit b22bf7d into master Jun 24, 2022
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.

2 participants