mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
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:
committed by
Compute-Runtime-Automation
parent
9e66844a27
commit
d1c354d5bf
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user