Correct xe_hpc_core files

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6631
This commit is contained in:
Kamil Kopryk
2022-03-14 13:14:47 +00:00
committed by Compute-Runtime-Automation
parent f20c573231
commit a20edd7160
6 changed files with 30 additions and 12 deletions

View File

@@ -1,11 +1,14 @@
/*
* Copyright (C) 2021 Intel Corporation
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/xe_hpc_core/hw_cmds_base.h"
#ifdef SUPPORT_PVC
#include "hw_cmds_pvc.h"
#endif

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2021 Intel Corporation
* Copyright (C) 2020-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -9,9 +9,13 @@
namespace NEO {
using Family = XE_HPC_COREFamily;
template <>
bool StateComputeModeHelper<XE_HPC_COREFamily>::isStateComputeModeRequired(const CsrSizeRequestFlags &csrSizeRequestFlags, bool isThreadArbitionPolicyProgrammed) {
bool StateComputeModeHelper<Family>::isStateComputeModeRequired(const CsrSizeRequestFlags &csrSizeRequestFlags, bool isThreadArbitionPolicyProgrammed) {
return csrSizeRequestFlags.numGrfRequiredChanged;
}
template struct StateComputeModeHelper<Family>;
} // namespace NEO