SWDEV-377862 - kind does not show on dotprint

- for to/from symbols nodes the correct kind is not showing

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Idf203976b71fcca67b2dd989de0daba4d0554b6d
Ta zmiana jest zawarta w:
sdashmiz authored and Shadi Dashmiz committed 2023-03-10 16:39:07 -05:00
1 rodzic ec8ab9b29c
złożenie ae631aaa32
Plik 1 zmieniony
+6
+6
Wyświetl plik
@@ -1344,6 +1344,12 @@ class hipGraphMemcpyNode1D : public hipGraphNode {
memcpyDirection = "DtoH";
} else if ((srcMemory != nullptr) && (dstMemory != nullptr)) {
memcpyDirection = "DtoD";
} else {
if (kind_ == hipMemcpyHostToDevice) {
memcpyDirection = "HtoD";
} else if (kind_ == hipMemcpyDeviceToHost) {
memcpyDirection = "DtoH";
}
}
std::string label;
if (flag == hipGraphDebugDotFlagsMemcpyNodeParams || flag == hipGraphDebugDotFlagsVerbose) {