From 7158adb57f389f05d1db99de15be67088bcc052f Mon Sep 17 00:00:00 2001 From: Bertan Dogancay <111835151+BertanDogancay@users.noreply.github.com> Date: Fri, 11 Jul 2025 09:19:39 -0400 Subject: [PATCH] [GEN] Fix typo in IFC code gen (#1796) --- src/device/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device/generate.py b/src/device/generate.py index b1aca93bef..5644d154e4 100755 --- a/src/device/generate.py +++ b/src/device/generate.py @@ -333,7 +333,7 @@ with open(os.path.join(gensrc, "device_table.h"), "w") as f: "__forceinline__ __device__ void NCCL_CALL_FUNCTIONS(unsigned short funcIndex) noexcept {\n") if is_ifc: for curr_unroll in seen_unroll: - out(" if (unroll == %s) { ncclDevFuncTable_%s[funcIndex]();\n" % (curr_unroll, curr_unroll)) + out(" if (unroll == %s) { ncclDevFuncTable_%s[funcIndex](); }\n" % (curr_unroll, curr_unroll)) else: out(f" Caller::call(funcIndex);\n") out("}\n\n")