mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
This is a part of refactor of logic around programming SCM. SCM should not be programmed just because of hasSharedHandles being true. Related-To: NEO-5995 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
18 lines
416 B
C++
18 lines
416 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.numGrfRequiredChanged;
|
|
}
|
|
|
|
} // namespace NEO
|