AUB allocation dumps on clEnqueueSVMMemcpy only

Related-To: NEO-4763

Change-Id: I2efc87ec4c43b2e1d010cc5d9608599b8ab34394
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
This commit is contained in:
Slawomir Milczarek
2020-08-31 13:10:29 +02:00
committed by sys_ocldev
parent 0dd621be84
commit c7e92738c6
12 changed files with 136 additions and 3 deletions

View File

@@ -735,7 +735,7 @@ void AUBCommandStreamReceiverHw<GfxFamily>::dumpAllocation(GraphicsAllocation &g
return;
}
if (DebugManager.flags.AUBDumpAllocsOnEnqueueReadOnly.get()) {
if (DebugManager.flags.AUBDumpAllocsOnEnqueueReadOnly.get() || DebugManager.flags.AUBDumpAllocsOnEnqueueSVMMemcpyOnly.get()) {
if (!gfxAllocation.isAllocDumpable()) {
return;
}

View File

@@ -565,7 +565,7 @@ void TbxCommandStreamReceiverHw<GfxFamily>::dumpAllocation(GraphicsAllocation &g
return;
}
if (DebugManager.flags.AUBDumpAllocsOnEnqueueReadOnly.get()) {
if (DebugManager.flags.AUBDumpAllocsOnEnqueueReadOnly.get() || DebugManager.flags.AUBDumpAllocsOnEnqueueSVMMemcpyOnly.get()) {
if (!gfxAllocation.isAllocDumpable()) {
return;
}