mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-23 03:01:20 +08:00
check if flags allow buffer from pool add buffer offset to aubtests disable pool buffer where required Related-To: NEO-7332 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
15 lines
317 B
C++
15 lines
317 B
C++
/*
|
|
* Copyright (C) 2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "opencl/source/context/context.h"
|
|
|
|
namespace NEO {
|
|
bool Context::BufferPoolAllocator::flagsAllowBufferFromPool(const cl_mem_flags &flags, const cl_mem_flags_intel &flagsIntel) const {
|
|
return true;
|
|
}
|
|
|
|
} // namespace NEO
|