mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
performance: change buffer type for new coherency model
Related-To: NEO-11882 Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b4903a9a0f
commit
c979495265
@@ -208,7 +208,8 @@ class Buffer : public MemObj {
|
||||
uint32_t rootDeviceIndex,
|
||||
bool forceCopyHostPtr);
|
||||
static AllocationType getGraphicsAllocationTypeAndCompressionPreference(const MemoryProperties &properties,
|
||||
bool &compressionEnabled, bool localMemoryEnabled);
|
||||
bool &compressionEnabled, bool localMemoryEnabled,
|
||||
bool isNewCoherencyModelSupported);
|
||||
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