Remove double free from bcs split L0

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2022-10-13 15:02:46 +00:00
committed by Compute-Runtime-Automation
parent 44894c1fdf
commit 4eeef388e2
2 changed files with 0 additions and 5 deletions

View File

@@ -67,10 +67,6 @@ void BcsSplit::releaseResources() {
}
}
BcsSplit::Events::~Events() {
this->releaseResources();
}
size_t BcsSplit::Events::obtainForSplit(Context *context, size_t maxEventCountInPool) {
for (size_t i = 0; i < this->marker.size(); i++) {
auto ret = this->marker[i]->queryStatus();

View File

@@ -47,7 +47,6 @@ struct BcsSplit {
void releaseResources();
Events(BcsSplit &bcsSplit) : bcsSplit(bcsSplit){};
~Events();
} events;
std::vector<CommandQueue *> cmdQs;