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

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 17 21:00:34 PDT 2026


================
@@ -33,7 +35,8 @@ constexpr static long getStep(long Ver) { return Ver % 100; }
 
 // Exposed for testing
 int printGPUsByKFD(StringRef NodePath) {
-  SmallVector<std::pair<long, long>> Devices;
+  // <Node, GFXVersion, ASIC revision>
+  SmallVector<std::tuple<long, long, long>> Devices;
----------------
jhuber6 wrote:

This many fields I think it makes sense to use a named struct now.

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


More information about the cfe-commits mailing list