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
[ROCm/clr commit: ae631aaa32]
This commit is contained in:
@@ -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) {
|
||||
|
||||
مرجع در شماره جدید
Block a user