Files
compute-runtime/unit_tests/gen12lp/unit_test_helper_gen12lp.cpp
Maciej Dziuban d38303b7e7 Cleanup Gen12lp code
Change-Id: I383d685481ec4ca69f59c23104730084b4448b17
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-01-13 15:05:10 +01:00

34 lines
887 B
C++

/*
* Copyright (C) 2019-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "core/gen12lp/hw_info.h"
#include "unit_tests/gen12lp/special_ult_helper_gen12lp.h"
#include "unit_tests/helpers/unit_test_helper.h"
#include "unit_tests/helpers/unit_test_helper.inl"
namespace NEO {
using Family = TGLLPFamily;
template <>
bool UnitTestHelper<Family>::isL3ConfigProgrammable() {
return false;
};
template <>
bool UnitTestHelper<Family>::isPageTableManagerSupported(const HardwareInfo &hwInfo) {
return hwInfo.capabilityTable.ftrRenderCompressedBuffers || hwInfo.capabilityTable.ftrRenderCompressedImages;
}
template <>
bool UnitTestHelper<Family>::isPipeControlWArequired(const HardwareInfo &hwInfo) {
return SpecialUltHelperGen12lp::isPipeControlWArequired(hwInfo.platform.eProductFamily);
}
template struct UnitTestHelper<Family>;
} // namespace NEO