mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00

Change-Id: Ib7e788760f0400b983e03044386f04637e12727e Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com> Related-To: NEO-4331
20 lines
507 B
C++
20 lines
507 B
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
namespace NEO {
|
|
|
|
template <>
|
|
inline bool HwHelperHw<Family>::isFusedEuDispatchEnabled(const HardwareInfo &hwInfo) const {
|
|
auto fusedEuDispatchEnabled = !hwInfo.workaroundTable.waDisableFusedThreadScheduling;
|
|
if (DebugManager.flags.CFEFusedEUDispatch.get() != -1) {
|
|
fusedEuDispatchEnabled = (DebugManager.flags.CFEFusedEUDispatch.get() == 0);
|
|
}
|
|
return fusedEuDispatchEnabled;
|
|
}
|
|
|
|
} // namespace NEO
|