Revert "Missing handling nullary __global__ functions for mixed arity cases."

This reverts commit 51c47fcc2e.


[ROCm/hip commit: 8eb9b38e76]
Этот коммит содержится в:
Siu Chi Chan
2018-11-29 11:38:31 -05:00
родитель 954535e0b5
Коммит a715dea79c
+2 -7
Просмотреть файл
@@ -409,18 +409,13 @@ void read_kernarg_metadata(
auto fn = tmp.substr(dx, tmp.find_first_of("'\n", dx) - dx);
dx += fn.size();
auto dx1 = tmp.find("CodeProps", dx);
dx = tmp.find("Args:", dx);
if (dx1 < dx) {
dx = dx1;
continue;
}
if (dx == string::npos) break;
static constexpr decltype(tmp.size()) args_sz{5};
dx = parse_args(tmp, dx + args_sz, dx1, kernargs[fn]);
dx = parse_args(
tmp, dx + args_sz, tmp.find("CodeProps", dx), kernargs[fn]);
} while (true);
}
}