[flang] [llvm] [lld] [clang] [AMDGPU] Introduce GFX9/10.1/10.3/11 Generic Targets (PR #76955)

Alex Voicu via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 24 07:26:27 PST 2024


================
@@ -49,6 +49,11 @@ constexpr uint32_t VersionMajorV5 = 1;
 /// HSA metadata minor version for code object V5.
 constexpr uint32_t VersionMinorV5 = 2;
 
+/// HSA metadata major version for code object V6.
+constexpr uint32_t VersionMajorV6 = 1;
+/// HSA metadata minor version for code object V6.
+constexpr uint32_t VersionMinorV6 = 3;
----------------
AlexVlx wrote:

Minor nit: there's formally no HSA 1.3, as far as I recall (things stopped at 1.2). Someone looking at this might erroneously infer it exists as a foundation mandated standard (and go look up the documentation), or assume it's coming soonTM. It might be beneficial to call that out here, since it would be difficult to break the current progression / use of "HSA" metadata.

https://github.com/llvm/llvm-project/pull/76955


More information about the cfe-commits mailing list