mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
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:
committed by
Compute-Runtime-Automation
parent
b597f47a70
commit
33ab962121
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user