mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 17:00:59 +08:00
Do not execute multi-tile command list on single-tile command queue
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d087c6a6c7
commit
7d109c42bc
@@ -53,6 +53,7 @@ ze_result_t CommandQueueImp::initialize(bool copyOnly, bool isInternal) {
|
||||
commandStream->replaceGraphicsAllocation(bufferAllocation);
|
||||
isCopyOnlyCommandQueue = copyOnly;
|
||||
preemptionCmdSyncProgramming = getPreemptionCmdProgramming();
|
||||
activeSubDevices = static_cast<uint32_t>(csr->getOsContext().getDeviceBitfield().count());
|
||||
}
|
||||
return returnValue;
|
||||
}
|
||||
@@ -156,8 +157,9 @@ CommandQueue *CommandQueue::create(uint32_t productFamily, Device *device, NEO::
|
||||
}
|
||||
}
|
||||
|
||||
csr->getOsContext().ensureContextInitialized();
|
||||
csr->initDirectSubmission(*device->getNEODevice(), csr->getOsContext());
|
||||
auto &osContext = csr->getOsContext();
|
||||
osContext.ensureContextInitialized();
|
||||
csr->initDirectSubmission(*device->getNEODevice(), osContext);
|
||||
return commandQueue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user