mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Refactor GraphicsAllocation class
move most of members to protected section merge related members into structs Change-Id: Ief2e092aa5e61ca6f13308f9d9b1937ea6c913b4 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
e75e5808cc
commit
6fb28dd828
@@ -604,7 +604,7 @@ CompletionStamp CommandQueueHw<GfxFamily>::enqueueNonBlocked(
|
||||
|
||||
auto allocNeedsFlushDC = false;
|
||||
if (!device->isFullRangeSvm()) {
|
||||
if (std::any_of(getCommandStreamReceiver().getResidencyAllocations().begin(), getCommandStreamReceiver().getResidencyAllocations().end(), [](const auto allocation) { return allocation->flushL3Required; })) {
|
||||
if (std::any_of(getCommandStreamReceiver().getResidencyAllocations().begin(), getCommandStreamReceiver().getResidencyAllocations().end(), [](const auto allocation) { return allocation->isFlushL3Required(); })) {
|
||||
allocNeedsFlushDC = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user