Change-Id: Ia132b381230bf7ddae4d951911be177a928143df


[ROCm/rocprofiler commit: a6480a825f]
Этот коммит содержится в:
Evgeny
2018-07-25 16:29:18 -05:00
родитель 1027ae42f5
Коммит b29a2616b0
-2
Просмотреть файл
@@ -173,10 +173,8 @@ std::string filtr_kernel_name(const std::string name) {
}
++rit;
}
// while (((*rit == ' ') || (*rit == ' ')) && (rit != rend)) rit++;
while (rit != rend) if ((*rit == ' ') || (*rit == ' ')) rit++; else break;
auto rbeg = rit;
// while ((*rit != ' ') && (*rit != ':') && (rit != rend)) rit++;
while (rit != rend) if ((*rit != ' ') && (*rit != ':')) rit++; else break;
const uint32_t pos = rend - rit;
const uint32_t length = rit - rbeg;