fix: Init device with first submission when metrics enabled

Resolves: NEO-7642

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2024-08-20 09:32:59 +00:00
committed by Compute-Runtime-Automation
parent 9e66844a27
commit d1c354d5bf

View File

@@ -686,8 +686,7 @@ bool Device::isBcsSplitSupported() {
}
bool Device::isInitDeviceWithFirstSubmissionSupported(CommandStreamReceiverType csrType) {
return !this->executionEnvironment->areMetricsEnabled() &&
getProductHelper().isInitDeviceWithFirstSubmissionRequired(getHardwareInfo()) &&
return getProductHelper().isInitDeviceWithFirstSubmissionRequired(getHardwareInfo()) &&
Device::isInitDeviceWithFirstSubmissionEnabled(csrType);
}