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
This commit is contained in:
sdashmiz
2023-02-22 16:23:33 -05:00
committed by Shadi Dashmiz
parent ec8ab9b29c
commit ae631aaa32
+6
View File
@@ -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) {