================
@@ -70,8 +82,10 @@ int printGPUsByKFD() {
// Sort the devices by their node to make sure it prints in order.
llvm::sort(Devices, [](auto &L, auto &R) { return L.first < R.first; });
for (const auto &[Node, GFXVersion] : Devices)
- std::fprintf(stdout, "gfx%ld%ld%lx\n", getMajor(GFXVersion),
- getMinor(GFXVersion), getStep(GFXVersion));
+ outs() << "gfx" << getMajor(GFXVersion) << getMinor(GFXVersion)
----------------
accauble wrote:
Only related because there are a couple tests that check the listed GPUs and
arsenm requested llvm streams for that.
https://github.com/llvm/llvm-project/pull/217449
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits