fix: adjust compression hint usage for ocl buffers

Related-To: NEO-11989

Also, use zero-copy on lnl

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2024-07-18 10:37:23 +00:00
committed by Compute-Runtime-Automation
parent b597f47a70
commit 33ab962121
31 changed files with 109 additions and 88 deletions

View File

@@ -209,7 +209,7 @@ class Buffer : public MemObj {
bool forceCopyHostPtr);
static AllocationType getGraphicsAllocationTypeAndCompressionPreference(const MemoryProperties &properties,
bool &compressionEnabled, bool localMemoryEnabled,
bool isNewCoherencyModelSupported);
bool isZeroCopyCpuAccessPreferred);
static bool isReadOnlyMemoryPermittedByFlags(const MemoryProperties &properties);
void transferData(void *dst, void *src, size_t copySize, size_t copyOffset);