mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
enable create subBuffer from pooled buffer
Allow creating subBuffer from buffer from buffer pool allocator by redirecting the call to the pool buffer and adjusting offset Related-To: NEO-7332 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f06df021b5
commit
d1a6054af9
@@ -62,6 +62,7 @@ class Buffer : public MemObj {
|
||||
constexpr static cl_ulong maskMagic = 0xFFFFFFFFFFFFFFFFLL;
|
||||
constexpr static cl_ulong objectMagic = MemObj::objectMagic | 0x02;
|
||||
bool forceDisallowCPUCopy = false;
|
||||
bool isSubBufferFromPool = false;
|
||||
|
||||
~Buffer() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user