Merge pull request #259 from NVIDIA/fix-ncclstringtotype

Future-proof ncclstringtotype

[ROCm/rccl-tests commit: 8dfeab9eb9]
Este cometimento está contido em:
Sylvain Jeaugey criou e GitHub cometeu 2024-10-24 10:28:02 -07:00
2 ascendentes 58349a42b2 0a2f08311b
cometimento 637acfba05
1 ficheiro modificado
+1 -1
+1 -1
Ver ficheiro
@@ -254,7 +254,7 @@ extern ncclRedOp_t test_ops[];
extern const char *test_opnames[];
static int ncclstringtotype(char *str) {
for (int t=0; t<ncclNumTypes; t++) {
for (int t=0; t<test_typenum; t++) {
if (strcmp(str, test_typenames[t]) == 0) {
return t;
}