SWDEV-478049 - Clear packets list as it is being added back later during submitKernelInternal while setting params for graph node.
Change-Id: I7451ffda93d94eeda5e1be05bb87558ae86d2a19
[ROCm/clr commit: 2494992695]
This commit is contained in:
کامیت شده توسط
Jaydeepkumar Patel
والد
b5a8d775d6
کامیت
7b2cd9111c
@@ -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.
|
||||
|
||||
مرجع در شماره جدید
Block a user