mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
fix: revert changes around zero-copy
Related-To: NEO-12018 Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b6299b8a21
commit
6a11e8a077
@@ -208,8 +208,7 @@ class Buffer : public MemObj {
|
||||
uint32_t rootDeviceIndex,
|
||||
bool forceCopyHostPtr);
|
||||
static AllocationType getGraphicsAllocationTypeAndCompressionPreference(const MemoryProperties &properties,
|
||||
bool &compressionEnabled, bool localMemoryEnabled,
|
||||
bool isZeroCopyCpuAccessPreferred);
|
||||
bool &compressionEnabled, bool localMemoryEnabled);
|
||||
static bool isReadOnlyMemoryPermittedByFlags(const MemoryProperties &properties);
|
||||
|
||||
void transferData(void *dst, void *src, size_t copySize, size_t copyOffset);
|
||||
|
||||
Reference in New Issue
Block a user