From e1cbf2c432a33ac3ab7182fbfbbdaecf2c54d3d2 Mon Sep 17 00:00:00 2001 From: uvos Date: Wed, 11 Mar 2026 23:56:25 +0100 Subject: [PATCH] Update scripts/hip/gcn-cdna-vgpr-check.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sigbjørn Skjæret --- scripts/hip/gcn-cdna-vgpr-check.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/hip/gcn-cdna-vgpr-check.py b/scripts/hip/gcn-cdna-vgpr-check.py index 67003cbecf..41b90c3cd0 100644 --- a/scripts/hip/gcn-cdna-vgpr-check.py +++ b/scripts/hip/gcn-cdna-vgpr-check.py @@ -138,11 +138,12 @@ def main(): # Print in red if not ignored color_code = "\033[91m" if func_name not in ignored else "" reset_code = "\033[0m" if func_name not in ignored else "" - print(f"{color_code}{location}: {func_name} - Total VGPRs: {total_vgprs} ({data['vgprs']} + {data['spill']}) {status}{reset_code}") + print(f"{color_code}{location}: {func_name} - Total VGPRs: {total_vgprs} ({data['vgprs']} + {data['spill']}) {status}{reset_code}") # noqa: NP100 if func_name not in ignored: found_issues = True sys.exit(1 if found_issues else 0) + if __name__ == "__main__": main()