Revert "Handle the very confusing dual encoding of the symbol name."
This reverts commit bce3de8162.
Este commit está contenido en:
@@ -404,10 +404,11 @@ void read_kernarg_metadata(
|
||||
if (dx == string::npos) break;
|
||||
|
||||
static constexpr decltype(tmp.size()) name_sz{5};
|
||||
dx = tmp.find_first_not_of(" '", dx + name_sz);
|
||||
dx = tmp.find_first_not_of(' ', dx + name_sz);
|
||||
|
||||
auto fn = tmp.substr(dx, tmp.find_first_of("'\n", dx) - dx);
|
||||
auto fn = tmp.substr(dx, tmp.find('\n', dx) - dx);
|
||||
dx += fn.size();
|
||||
|
||||
dx = tmp.find("Args:", dx);
|
||||
|
||||
if (dx == string::npos) break;
|
||||
@@ -595,7 +596,6 @@ unordered_map<string, vector<pair<size_t, size_t>>>& kernargs() {
|
||||
}
|
||||
});
|
||||
|
||||
for (auto&& x : r) std::cerr << x.first << std::endl;
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
Referencia en una nueva incidencia
Block a user