mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 17:33:00 +08:00
Remove double free from bcs split L0
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
44894c1fdf
commit
4eeef388e2
@@ -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();
|
||||
|
||||
@@ -47,7 +47,6 @@ struct BcsSplit {
|
||||
void releaseResources();
|
||||
|
||||
Events(BcsSplit &bcsSplit) : bcsSplit(bcsSplit){};
|
||||
~Events();
|
||||
} events;
|
||||
|
||||
std::vector<CommandQueue *> cmdQs;
|
||||
|
||||
Reference in New Issue
Block a user