mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Do not track Kernel ISA as new resources.
Change-Id: Ib112952071b76ba471d046c13c556422c415ba96 Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
10cd323448
commit
324150dd37
@@ -565,7 +565,7 @@ void CommandStreamReceiver::printDeviceIndex() {
|
||||
|
||||
void CommandStreamReceiver::checkForNewResources(uint32_t submittedTaskCount, uint32_t allocationTaskCount, GraphicsAllocation &gfxAllocation) {
|
||||
if (useNewResourceImplicitFlush) {
|
||||
if (allocationTaskCount == GraphicsAllocation::objectNotUsed) {
|
||||
if (allocationTaskCount == GraphicsAllocation::objectNotUsed && gfxAllocation.getAllocationType() != GraphicsAllocation::AllocationType::KERNEL_ISA) {
|
||||
newResources = true;
|
||||
if (DebugManager.flags.ProvideVerboseImplicitFlush.get()) {
|
||||
printf("New resource detected of type %llu\n", static_cast<unsigned long long>(gfxAllocation.getAllocationType()));
|
||||
|
||||
Reference in New Issue
Block a user