mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
fix: set properly resource params when setAllocationType
gmm params: usage, cachable and resource info should be set properly when override allocation type Resolves: HSD-22020344331 Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
71c6731287
commit
2e0884a301
@@ -36,6 +36,7 @@ class Gmm;
|
||||
class MemoryManager;
|
||||
class CommandStreamReceiver;
|
||||
class GraphicsAllocation;
|
||||
class ProductHelper;
|
||||
|
||||
struct AllocationProperties;
|
||||
|
||||
@@ -150,7 +151,7 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation> {
|
||||
osHandle peekSharedHandle() const { return sharingInfo.sharedHandle; }
|
||||
void setSharedHandle(osHandle handle) { sharingInfo.sharedHandle = handle; }
|
||||
|
||||
void setAllocationType(AllocationType allocationType);
|
||||
void setAllocationType(AllocationType allocationType, const ProductHelper &productHelper);
|
||||
AllocationType getAllocationType() const { return allocationType; }
|
||||
|
||||
MemoryPool getMemoryPool() const { return memoryPool; }
|
||||
|
||||
Reference in New Issue
Block a user