fix: check engines completion before releasing deferred TSP nodes

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>

Related-To: NEO-8146
This commit is contained in:
Dunajski, Bartosz
2023-07-11 12:38:03 +00:00
committed by Compute-Runtime-Automation
parent b908203001
commit 40c7b2842f
5 changed files with 124 additions and 23 deletions

View File

@@ -374,9 +374,9 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
const std::array<CopyEngineState, bcsInfoMaskSize> &peekActiveBcsStates() const { return bcsStates; }
void releaseDeferredNodes();
void tryReleaseDeferredNodes(bool checkEventsState);
TaskCountType peekTaskCount() const { return taskCount; }
bool allEnginesReady();
protected:
void *enqueueReadMemObjForMap(TransferProperties &transferProperties, EventsRequest &eventsRequest, cl_int &errcodeRet);