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:
1 rodzic
ec8ab9b29c
złożenie
ae631aaa32
Plik 1 zmieniony
+6
@@ -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) {
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika