mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Enable implicit flush control by default for XE_HPG family
[1/3] - enable implicit flush for GPU idle Related-To: NEO-6827 Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6c09b8cbbc
commit
c9936a4cbd
@@ -896,7 +896,7 @@ void CommandStreamReceiver::checkForNewResources(TaskCountType submittedTaskCoun
|
||||
|
||||
bool CommandStreamReceiver::checkImplicitFlushForGpuIdle() {
|
||||
if (useGpuIdleImplicitFlush) {
|
||||
if (this->taskCount == *getTagAddress()) {
|
||||
if (this->latestFlushedTaskCount == *getTagAddress()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
* Copyright (C) 2018-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -12,7 +12,7 @@ namespace NEO {
|
||||
|
||||
bool OSInterface::osEnabled64kbPages = true;
|
||||
bool OSInterface::newResourceImplicitFlush = false;
|
||||
bool OSInterface::gpuIdleImplicitFlush = false;
|
||||
bool OSInterface::gpuIdleImplicitFlush = true;
|
||||
bool OSInterface::requiresSupportForWddmTrimNotification = true;
|
||||
|
||||
bool OSInterface::isDebugAttachAvailable() const {
|
||||
|
||||
@@ -24,7 +24,7 @@ static auto gfxCore = IGFX_XE_HPG_CORE;
|
||||
template <>
|
||||
bool ImplicitFlushSettings<Family>::defaultSettingForNewResource = false;
|
||||
template <>
|
||||
bool ImplicitFlushSettings<Family>::defaultSettingForGpuIdle = false;
|
||||
bool ImplicitFlushSettings<Family>::defaultSettingForGpuIdle = true;
|
||||
template class ImplicitFlushSettings<Family>;
|
||||
|
||||
template <>
|
||||
|
||||
Reference in New Issue
Block a user