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

[all] Fix radix sort test #209

Merged
merged 1 commit into from
Aug 19, 2021

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Aug 18, 2021

Fix the compilation errors in test/radixSort_t.cu:

  • take into account the actual size of the type being sorted, instead of always assuming a 64-bit type;
  • use an union instead of a cast to keep the compiler happy about the aliasing rules.

Fix the compilation errors in test/radixSort_t.cu:
  - take into account the actual size of the type being sorted, instead
    of always assuming a 64-bit type;
  - use an union instead of a cast to keep the compiler happy about the
    aliasing rules.
@fwyzard
Copy link
Contributor Author

fwyzard commented Aug 18, 2021

See cms-sw/cmssw#34929 .

I have not tested the HIP version, though.

@makortel makortel merged commit a11ced4 into cms-patatrack:master Aug 19, 2021
@fwyzard fwyzard deleted the fix_radix_sort_tests branch September 22, 2022 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants