mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
Remove CommandStreamReceiver::lastSentCoherencyRequest Remove CsrSizeRequestFlags::coherencyRequestChanged Related-To: NEO-5995 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
18 lines
456 B
C++
18 lines
456 B
C++
/*
|
|
* Copyright (C) 2019-2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/helpers/state_compute_mode_helper.h"
|
|
|
|
namespace NEO {
|
|
|
|
template <>
|
|
bool StateComputeModeHelper<TGLLPFamily>::isStateComputeModeRequired(const CsrSizeRequestFlags &csrSizeRequestFlags, bool isThreadArbitionPolicyProgrammed) {
|
|
return csrSizeRequestFlags.hasSharedHandles || csrSizeRequestFlags.numGrfRequiredChanged;
|
|
}
|
|
|
|
} // namespace NEO
|