[GEN] Fix typo in IFC code gen (#1796)

Tá an tiomantas seo le fáil i:
Bertan Dogancay
2025-07-11 09:19:39 -04:00
tiomanta ag GitHub
tuismitheoir 6b4ad0fd74
tiomantas 7158adb57f
+1 -1
Féach ar an gComhad
@@ -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<unroll, 0, {tableIdx}>::call(funcIndex);\n")
out("}\n\n")