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

Fix hip scan accumulation types #1634

Closed
wants to merge 4 commits into from
Closed

Conversation

MrBurmark
Copy link
Member

@MrBurmark MrBurmark commented Apr 27, 2024

Fixes inconsistent scan accumulation types in hip backend compared to other backends

TODO:

  • test mixed types, small input types with large output types

InputIter,
OutputIter,
Function,
AccType>(d_temp_storage,
Copy link
Member

Choose a reason for hiding this comment

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

I think the compilation failure is because the ROCm template you are calling here only has 4 template params and you have five. Specifically, AccType does not appear in the ROCm implementation.

Copy link
Member Author

@MrBurmark MrBurmark Apr 29, 2024

Choose a reason for hiding this comment

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

Ya, I just realized that.
It looks like all the released versions of rocprim don't have the 5th AccType template argument as of rocm 6.1.0. Though this template argument does exist on rocprim develop.

Copy link
Member

Choose a reason for hiding this comment

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

It's also not in rocm 5.7.x, which is what we are currently testing.

@MrBurmark MrBurmark closed this Apr 29, 2024
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.

Scan Accumulation Type Consistency
2 participants