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

Do not use aliases as nested namespace specifiers #2068

Merged
merged 4 commits into from
Jan 9, 2025

Conversation

ellosel
Copy link
Contributor

@ellosel ellosel commented Dec 17, 2024

Summary:

With clang 19, existing code is triggering warnings. The warning points out that one cannot use an alias template as a namespace specifier. See this reproducer: https://godbolt.org/z/xn6YhPKxv

Outcomes:

Warnings are no longer emitted.

Notable changes:

Used the name of the type directly rather than the alias.

Testing and Environment:

This only occurs in environments with clang 19. Tested by running the following command in Tensile:

tox run -e hostlibtest

and the following command from rocBLAS:

./install.sh -a gfx900 -t /mnt/host/projects/Tensile

Copy link
Contributor

@TorreZuk TorreZuk left a comment

Choose a reason for hiding this comment

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

LGTM, maybe same for hipblaslt

@bstefanuk bstefanuk merged commit 1ce5be1 into ROCm:develop Jan 9, 2025
21 checks passed
@bstefanuk bstefanuk deleted the hotfix-warnings branch January 9, 2025 20:34
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.

3 participants