[clang] [offload-arch] Report gfx1250-strict to match rocminfo (PR #224480)

A. Cauble via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 18 06:50:17 PDT 2026


================
@@ -33,10 +33,22 @@ constexpr static long getMajor(long Ver) { return (Ver / 10000) % 100; }
 constexpr static long getMinor(long Ver) { return (Ver / 100) % 100; }
 constexpr static long getStep(long Ver) { return Ver % 100; }
 
+// For A0, print gfx1250-strict to match rocminfo
+std::string strictHelper(long GFXVersion, long ASICRevision) {
----------------
accauble wrote:

Thoughts on `getVersionExtras`, `getVersionSuffix`, `isStrictVersion`? I like the last one but it doesn't really generalize.

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


More information about the cfe-commits mailing list