mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Enable aggregating command buffers with multiple osContexts
- Store inspectionId for each osContext in GraphicsAllocation - Pass osContextId to aggregateCommandBuffer and use it to select inspectionId Change-Id: I2c377ad7577a8c882cc89c1205430cb581c2c0d5 Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
a35e3b792d
commit
43fd32b3ad
@@ -36,7 +36,7 @@ void GlobalMockSipProgram::resetAllocationState() {
|
||||
for (uint32_t index = 0u; index < maxOsContextCount; index++) {
|
||||
this->kernelInfoArray[0]->kernelAllocation->resetResidencyTaskCount(index);
|
||||
}
|
||||
static_cast<MockGraphicsAllocation *>(this->kernelInfoArray[0]->kernelAllocation)->resetInspectionId();
|
||||
static_cast<MockGraphicsAllocation *>(this->kernelInfoArray[0]->kernelAllocation)->resetInspectionIds();
|
||||
}
|
||||
void GlobalMockSipProgram::initSipProgram() {
|
||||
cl_int retVal = 0;
|
||||
|
||||
Reference in New Issue
Block a user