disabling kernel name printing for kernel launches by func pointer and ostream operator template

Change-Id: Icbcedafb1812a1be03837f6cb47283eb0d382ad2


[ROCm/roctracer commit: 9d4a58f6da]
This commit is contained in:
Evgeny
2020-05-27 04:21:31 -05:00
zatwierdzone przez Evgeny Shcherbakov
rodzic 755333d0b8
commit ecf2c9e22b
2 zmienionych plików z 6 dodań i 2 usunięć
@@ -85,7 +85,11 @@ header = \
header_hip = \
'template <typename T>\n' + \
' std::ostream& operator<<(std::ostream& out, const T& v) { using std::operator<<; out << v; return out; }\n' + \
' std::ostream& operator<<(std::ostream& out, const T& v) {\n' + \
' using std::operator<<;\n' + \
' static bool recursion = false;\n' + \
' if (recursion == false) { recursion = true; out << v; recursion = false; }\n' + \
' return out; }\n' + \
'std::ostream& operator<<(std::ostream& out, void* v) { using std::operator<<; out << std::hex << v; return out; }\n' + \
'std::ostream& operator<<(std::ostream& out, const void* v) { using std::operator<<; out << std::hex << v; return out; }\n' + \
'std::ostream& operator<<(std::ostream& out, bool v) { using std::operator<<; out << std::hex << "<bool " << "0x" << v << std::dec << ">"; return out; }\n' + \