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

Add __amdflang__ define to identify compiler as AMD Flang #174

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

mjklemm
Copy link

@mjklemm mjklemm commented Oct 2, 2024

The current compiler version identifies itself as a Flang compiler:

#define __flang__ 1
#define __flang_major__ 20
#define __flang_minor__ 0
#define __flang_patchlevel__ 0

This PR adds the following define to the list:

#define __amdflang__ 1

@mjklemm mjklemm self-assigned this Oct 2, 2024
@mjklemm mjklemm merged commit 31ffc5f into ROCm:amd-trunk-dev Oct 2, 2024
3 of 5 checks passed
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.

2 participants