SWDEV-422207 - Remove L2 flush when kernelArgs are in device memory

Change-Id: I7b5625cb6d55e83689bff7bbb45be9c517ec4a8d


[ROCm/clr commit: 5fb7536586]
Tá an tiomantas seo le fáil i:
Anusha GodavarthySurya tiomanta 2023-10-26 19:14:58 +00:00
1 tuismitheoir d03b38ba62
tiomantas d6c3c17c8b
1 comhad athraithe
-8
-8
Féach ar an gComhad
@@ -671,14 +671,6 @@ hipError_t GraphExec::Run(hipStream_t stream) {
}
if (parallelLists_.size() == 1) {
if (device_kernarg_pool_) {
// If kernelArgs are in device memory flush/invalidate L2
amd::Command* startCommand = nullptr;
startCommand = new amd::Marker(*hip_stream, false);
startCommand->enqueue();
startCommand->release();
}
for (int i = 0; i < topoOrder_.size(); i++) {
if (DEBUG_CLR_GRAPH_PACKET_CAPTURE && topoOrder_[i]->GetType() == hipGraphNodeTypeKernel) {
hip_stream->vdev()->dispatchAqlPacket(topoOrder_[i]->GetAqlPacket());