SWDEV-478049 - Clear packets list as it is being added back later during submitKernelInternal while setting params for graph node.
Change-Id: I7451ffda93d94eeda5e1be05bb87558ae86d2a19
This commit is contained in:
committed by
Jaydeepkumar Patel
parent
bcc545e6b8
commit
2494992695
@@ -273,6 +273,7 @@ struct GraphNode : public hipGraphNodeDOTAttribute {
|
||||
size_t GetKernargSegmentAlignment() const { return kernargSegmentAlignment_; }
|
||||
void CaptureAndFormPacket(hip::Stream* capture_stream, GraphKernelArgManager* kernArgMgr) {
|
||||
hipError_t status = CreateCommand(capture_stream);
|
||||
gpuPackets_.clear();
|
||||
for (auto& command : commands_) {
|
||||
command->setCapturingState(true, &gpuPackets_, kernArgMgr, &capturedKernelName_);
|
||||
// Enqueue command to capture GPU Packet. The packet is not submitted to the device.
|
||||
|
||||
Reference in New Issue
Block a user