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

[ROCm/rccl commit: 7158adb57f]
This commit is contained in:
Bertan Dogancay
2025-07-11 09:19:39 -04:00
zatwierdzone przez GitHub
rodzic 41c985462c
commit d4aafe31fa
+1 -1
Wyświetl plik
@@ -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")