mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Cleaned up files: opencl/source/built_ins/builtins_dispatch_builder.h opencl/source/context/context.h opencl/source/gtpin/gtpin_notify.h opencl/source/kernel/kernel.h opencl/source/kernel/multi_device_kernel.h opencl/source/mem_obj/buffer.h opencl/source/mem_obj/mem_obj.h shared/source/built_ins/registry/built_ins_registry.h shared/source/page_fault_manager/cpu_page_fault_manager.h Related-To: NEO-5548 Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
22 lines
480 B
C++
22 lines
480 B
C++
/*
|
|
* Copyright (C) 2023 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/memory_manager/memory_allocation.h"
|
|
|
|
#include "shared/source/debug_settings/debug_settings_manager.h"
|
|
|
|
namespace NEO {
|
|
|
|
void MemoryAllocation::overrideMemoryPool(MemoryPool pool) {
|
|
if (DebugManager.flags.AUBDumpForceAllToLocalMemory.get()) {
|
|
this->memoryPool = MemoryPool::LocalMemory;
|
|
return;
|
|
}
|
|
this->memoryPool = pool;
|
|
}
|
|
|
|
} // namespace NEO
|