mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 15:53:13 +08:00
Improve dirtyHeaps check in CommandContainer
Change-Id: I798c916ff267671650a30d06d67aa1c1162c567f Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
b49424772f
commit
9522734801
@@ -95,7 +95,7 @@ void CommandContainer::addToResidencyContainer(NEO::GraphicsAllocation *alloc) {
|
||||
}
|
||||
|
||||
void CommandContainer::reset() {
|
||||
dirtyHeaps = std::numeric_limits<uint32_t>::max();
|
||||
setDirtyStateForAllHeaps(true);
|
||||
slmSize = std::numeric_limits<uint32_t>::max();
|
||||
getResidencyContainer().clear();
|
||||
getDeallocationContainer().clear();
|
||||
|
||||
Reference in New Issue
Block a user