mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
test: add test for scratch when secondary context is used
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ae90c526f2
commit
20452577ab
@@ -140,6 +140,9 @@ class CommandContainer : public NonCopyableOrMovableClass {
|
||||
void setImmediateCmdListCsr(CommandStreamReceiver *newValue) {
|
||||
this->immediateCmdListCsr = newValue;
|
||||
}
|
||||
CommandStreamReceiver *getImmediateCmdListCsr() {
|
||||
return this->immediateCmdListCsr;
|
||||
}
|
||||
void enableHeapSharing() { heapSharingEnabled = true; }
|
||||
bool immediateCmdListSharedHeap(HeapType heapType) {
|
||||
return (heapSharingEnabled && (heapType == HeapType::dynamicState || heapType == HeapType::surfaceState));
|
||||
|
||||
Reference in New Issue
Block a user