mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Fix two issues in ipc event pool creation
- remove double and triple free in open ipc event pool cleanup section - correctly initialize device vector Related-To: NEO-7636 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b4375dde25
commit
2aacc04ffd
@@ -69,6 +69,7 @@ ze_result_t DriverHandleImp::createContext(const ze_context_desc_t *desc,
|
||||
context->rootDeviceIndices.push_back(neoDevice->getRootDeviceIndex());
|
||||
context->deviceBitfields.insert({neoDevice->getRootDeviceIndex(),
|
||||
neoDevice->getDeviceBitfield()});
|
||||
context->addDeviceHandle(device->toHandle());
|
||||
}
|
||||
} else {
|
||||
for (uint32_t i = 0; i < numDevices; i++) {
|
||||
|
||||
Reference in New Issue
Block a user