refactor OCL: cleanup after moving multi root device buffers to local mem

remove debug flag AllocateBuffersInLocalMemoryForMultiRootDeviceContexts

Related-To: NEO-5735
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-02-14 15:02:49 +00:00
committed by Compute-Runtime-Automation
parent 44ec497b1a
commit 51887af219
16 changed files with 10 additions and 215 deletions

View File

@@ -1350,10 +1350,6 @@ void CommandQueue::clearLastBcsPackets() {
}
void CommandQueue::migrateMultiGraphicsAllocationsIfRequired(const BuiltinOpParams &operationParams, CommandStreamReceiver &csr) {
if (!DebugManager.flags.AllocateBuffersInLocalMemoryForMultiRootDeviceContexts.get()) {
return;
}
for (auto argMemObj : {operationParams.srcMemObj, operationParams.dstMemObj}) {
if (argMemObj) {
auto memObj = argMemObj->getHighestRootMemObj();