SWDEV-290160 - Don't send notification for batch markers

Batch marker already has a barrier with HSA signal callback

Change-Id: I69fc63d72320c2e9cc2d2e59ebd3f07c0bd0e3b5
Este cometimento está contido em:
German Andryeyev criou e Maneesh Gupta cometeu 2021-08-22 23:56:07 -07:00
1 ascendente 83ca0821af
cometimento c49f1069ab
2 ficheiros modificados
+5 -10

Não existem ficheiros que correspondam à sua pesquisa

+2 -1
Ver ficheiro
@@ -1239,7 +1239,8 @@ void VirtualGPU::profilingEnd(amd::Command& command) {
timestamp_->end();
}
command.setData(timestamp_);
if (AMD_DIRECT_DISPATCH) {
// Update HW event only for batches
if ((AMD_DIRECT_DISPATCH) && (command.GetBatchHead() != nullptr)) {
command.SetHwEvent(timestamp_->Signals().back());
}
timestamp_ = nullptr;