35 lines
930 B
C++
35 lines
930 B
C++
/*
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/gen12lp/hw_info.h"
|
|
|
|
#include "opencl/test/unit_test/gen12lp/special_ult_helper_gen12lp.h"
|
|
#include "opencl/test/unit_test/helpers/unit_test_helper.h"
|
|
#include "opencl/test/unit_test/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
|