Files
compute-runtime/shared/source/helpers/hw_info_config_common_helper.cpp
Maciej Dziuban 19de738e03 Enable copy engine on GEN12LP
Change-Id: Ifd82abcb830a52d0e38e83a52c095da275e671fb
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-4233
2020-05-15 13:52:45 +02:00

25 lines
846 B
C++

/*
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/helpers/hw_info_config_common_helper.h"
#include "shared/source/debug_settings/debug_settings_manager.h"
#include "shared/source/helpers/hw_helper.h"
#include "shared/source/helpers/hw_info.h"
namespace NEO {
namespace HwInfoConfigCommonHelper {
void enableBlitterOperationsSupport(HardwareInfo &hardwareInfo) {
hardwareInfo.capabilityTable.blitterOperationsSupported = HwHelper::get(hardwareInfo.platform.eRenderCoreFamily).obtainBlitterPreference(hardwareInfo);
if (DebugManager.flags.EnableBlitterOperationsSupport.get() != -1) {
hardwareInfo.capabilityTable.blitterOperationsSupported = !!DebugManager.flags.EnableBlitterOperationsSupport.get();
}
}
} // namespace HwInfoConfigCommonHelper
} // namespace NEO