Files
compute-runtime/shared/source/gen12lp/state_compute_mode_helper_gen12lp.cpp
Filip Hazubski 0c2f83579c Do not force programming SCM when hasSharedHandles is true
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>
2021-12-30 17:12:28 +01:00

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