mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 12:11:31 +08:00
Connect UnifiedMemoryProperties with MemoryPropertiesFlags
-Add support to SvmAllocationData -Refactor parseMemoryProperties -Add allocation flags Related-To: NEO-4011 Change-Id: I3728d2319aeef983dbcc3f8702da9a303a4e2b9c Signed-off-by: Gibala <krzysztof.gibala@intel.com>
This commit is contained in:
@@ -1318,7 +1318,7 @@ class DrmMockBuffer : public Buffer {
|
||||
delete gfxAllocation;
|
||||
}
|
||||
|
||||
DrmMockBuffer(char *data, size_t size, DrmAllocation *alloc) : Buffer(nullptr, MemoryPropertiesFlagsParser::createMemoryPropertiesFlags(CL_MEM_USE_HOST_PTR, 0), CL_MEM_USE_HOST_PTR, 0, size, data, data, alloc, true, false, false),
|
||||
DrmMockBuffer(char *data, size_t size, DrmAllocation *alloc) : Buffer(nullptr, MemoryPropertiesFlagsParser::createMemoryPropertiesFlags(CL_MEM_USE_HOST_PTR, 0, 0), CL_MEM_USE_HOST_PTR, 0, size, data, data, alloc, true, false, false),
|
||||
data(data),
|
||||
gfxAllocation(alloc) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user