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

Workarounds for broken complex type operator overloads in HIP 5.7 onwards #1083

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

msimberg
Copy link
Collaborator

@msimberg msimberg commented Jan 17, 2024

Nothing to see here yet. This is an ugly, hacky attempt at not using the broken upstream operators, but I'm unsure if 1. it works correctly, 2. it generates the same/similar code, and 3. if it's maintainable. Opening as PR to see how it works in CI. I know it compiles with HIP 5.2.3, nothing more.

@msimberg
Copy link
Collaborator Author

cscs-ci run

1 similar comment
@msimberg
Copy link
Collaborator Author

cscs-ci run

@msimberg
Copy link
Collaborator Author

cscs-ci run

@msimberg
Copy link
Collaborator Author

cscs-ci run

@msimberg
Copy link
Collaborator Author

msimberg commented Feb 1, 2024

I've just discovered that it seems like spack patches the issue in HIP: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/hip/0015-reverting-operator-mixup-fix-for-slate.patch. The upstream comment about use of the operators being discouraged still applies of course, and they haven't reverted the change that broke things upstream. That said I'm probably going to lower the priority of this a bit, and we can perhaps think longer term about a "whipblas" interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

None yet

1 participant