From 7eaba0bd33d4e2d75f1bdc4a6aef83581968dcb4 Mon Sep 17 00:00:00 2001 From: German Andryeyev Date: Fri, 19 Apr 2024 11:52:20 -0400 Subject: [PATCH] SWDEV-440746 - Don't set CL_SUBMITTED twice Change-Id: I9ba34454f7487d6bc0d398b322a147cbac6c6443 [ROCm/clr commit: fd81490bb854bc6c1fac1b54d7f94b9adc4a2829] --- projects/clr/rocclr/platform/command.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/projects/clr/rocclr/platform/command.cpp b/projects/clr/rocclr/platform/command.cpp index aec37d179b..1bf3b40852 100644 --- a/projects/clr/rocclr/platform/command.cpp +++ b/projects/clr/rocclr/platform/command.cpp @@ -370,13 +370,11 @@ void Command::enqueue() { // updated upon the marker completion SetBatchHead(queue_->GetSubmittionBatch()); - setStatus(CL_SUBMITTED); submit(*queue_->vdev()); // The batch will be tracked with the marker now queue_->ResetSubmissionBatch(); } else { - setStatus(CL_SUBMITTED); submit(*queue_->vdev()); } } else {