SWDEV-533754 - Fixed mem leak in capturing gpu packets (#365)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2a02d2c2f3
Коммит
f094d16157
@@ -249,6 +249,7 @@ class GraphNode : public hipGraphNodeDOTAttribute {
|
||||
return status;
|
||||
}
|
||||
|
||||
std::for_each(gpuPackets_.begin(), gpuPackets_.end(), [](auto p) { delete[] p; });
|
||||
gpuPackets_.clear();
|
||||
for (auto& command : commands_) {
|
||||
command->setPktCapturingState(true, &gpuPackets_, kernArgMgr, &capturedKernelName_);
|
||||
|
||||
Ссылка в новой задаче
Block a user