mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
fix: stop direct submission before oa configuration activation
Related-To: NEO-12778 Signed-off-by: Robert Krzemień <robert.krzemien@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
01a0b8e7f7
commit
fe1fd22371
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2023 Intel Corporation
|
||||
* Copyright (C) 2018-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -29,6 +29,8 @@ std::unique_ptr<PerformanceCounters> PerformanceCounters::create(Device *device)
|
||||
counter->clientData.Windows.KmdInstrumentationEnabled = device->getHardwareInfo().capabilityTable.instrumentationEnabled;
|
||||
counter->contextData.ClientData = &counter->clientData;
|
||||
counter->clientType.Gen = static_cast<MetricsLibraryApi::ClientGen>(gfxCoreHelper.getMetricsLibraryGenId());
|
||||
counter->metricsLibrary->api->callbacks.CommandBufferFlush = &PerformanceCounters::flushCommandBufferCallback;
|
||||
counter->clientData.Handle = reinterpret_cast<void *>(device);
|
||||
|
||||
return counter;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user