mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
fix: metric query hangs gpu when direct submission is enabled
Related-To: NEO-11052 Signed-off-by: Robert Krzemień <robert.krzemien@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
0a27aa9f7b
commit
965060385c
@@ -70,6 +70,8 @@ ze_result_t CommandQueueHw<gfxCoreFamily>::executeCommandLists(
|
||||
|
||||
auto ret = ZE_RESULT_SUCCESS;
|
||||
|
||||
this->device->activateMetricGroups();
|
||||
|
||||
auto lockCSR = this->csr->obtainUniqueOwnership();
|
||||
auto neoDevice = device->getNEODevice();
|
||||
|
||||
@@ -107,7 +109,6 @@ ze_result_t CommandQueueHw<gfxCoreFamily>::executeCommandLists(
|
||||
ctx.lockScratchController = lockScratchController;
|
||||
|
||||
this->startingCmdBuffer = &this->commandStream;
|
||||
this->device->activateMetricGroups();
|
||||
|
||||
if (this->isCopyOnlyCommandQueue) {
|
||||
ret = this->executeCommandListsCopyOnly(ctx, numCommandLists, phCommandLists, hFence, nullptr, 0, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user