mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Flush task at device init
Resolves: NEO-7642 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
fe8a6d98ad
commit
73bd55ad40
@@ -5,6 +5,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/command_stream/command_stream_receiver.h"
|
||||
#include "shared/source/debug_settings/debug_settings_manager.h"
|
||||
#include "shared/source/helpers/constants.h"
|
||||
#include "shared/source/os_interface/hw_info_config.h"
|
||||
@@ -80,6 +81,9 @@ ze_result_t MetricIpSamplingLinuxImp::startMeasurement(uint32_t ¬ifyEveryNRep
|
||||
|
||||
DeviceImp &deviceImp = static_cast<DeviceImp &>(device);
|
||||
|
||||
auto csr = deviceImp.getNEODevice()->getDefaultEngine().commandStreamReceiver;
|
||||
csr->waitForTaskCountWithKmdNotifyFallback(csr->peekTaskCount(), 0, false, NEO::QueueThrottle::MEDIUM);
|
||||
|
||||
auto ioctlHelper = drm->getIoctlHelper();
|
||||
uint32_t euStallFdParameter = ioctlHelper->getEuStallFdParameter();
|
||||
std::array<uint64_t, 12u> properties;
|
||||
|
||||
Reference in New Issue
Block a user