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 compilation with libc++ #1516

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

AngryLoki
Copy link

std::vector<char[16]> works with libstdc++, but fails with libc++.
The issue was reported to llvm/llvm-project#98734, and according to discussion, is not a part of c++17 (used currently in hipBLASLt).
This change switches char[16] to std::array<char, 16>, which is compliant with c++17.

Closes #1515

`std::vector<char[16]>` works with libstdc++, but fails with libc++.
The issue was reported to llvm/llvm-project#98734, and according to discussion, is not a part of c++17 (used currently in hipBLASLt).
This change switches `char[16]` to `std::array<char, 16>`, which is compliant with c++17.
jichangjichang
jichangjichang previously approved these changes Feb 4, 2025
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.

[Issue]: build with libc++ fails in std::vector<int8_t[16]> alpha_1
3 participants