mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 06:23:01 +08:00
Dates corrected in copyright headers to reflect original publication date (2018 for OpenCL, 2020 for Level Zero). Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
35 lines
919 B
C++
35 lines
919 B
C++
/*
|
|
* Copyright (C) 2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/gen12lp/hw_info.h"
|
|
#include "shared/test/common/helpers/unit_test_helper.h"
|
|
#include "shared/test/common/helpers/unit_test_helper.inl"
|
|
|
|
#include "opencl/test/unit_test/gen12lp/special_ult_helper_gen12lp.h"
|
|
|
|
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
|