/* * Copyright (C) 2023-2024 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/helpers/constants.h" #include "shared/source/release_helper/release_helper.h" #include "shared/source/release_helper/release_helper_base.inl" #include "shared/source/xe_hpc_core/hw_cmds_xe_hpc_core_base.h" #include "release_definitions.h" namespace NEO { constexpr auto release = ReleaseType::release1261; template <> bool ReleaseHelperHw::isRcsExposureDisabled() const { return true; } template <> inline bool ReleaseHelperHw::isDotProductAccumulateSystolicSupported() const { return false; } template <> inline bool ReleaseHelperHw::isMatrixMultiplyAccumulateSupported() const { return false; } template <> const SizeToPreferredSlmValueArray &ReleaseHelperHw::getSizeToPreferredSlmValue(bool isHeapless) const { using PREFERRED_SLM_ALLOCATION_SIZE = typename XeHpcCoreFamily::INTERFACE_DESCRIPTOR_DATA::PREFERRED_SLM_ALLOCATION_SIZE; static const SizeToPreferredSlmValueArray sizeToPreferredSlmValue = {{ {0, PREFERRED_SLM_ALLOCATION_SIZE::PREFERRED_SLM_ALLOCATION_SIZE_0KB}, {16 * MemoryConstants::kiloByte, PREFERRED_SLM_ALLOCATION_SIZE::PREFERRED_SLM_ALLOCATION_SIZE_16KB}, {32 * MemoryConstants::kiloByte, PREFERRED_SLM_ALLOCATION_SIZE::PREFERRED_SLM_ALLOCATION_SIZE_32KB}, {64 * MemoryConstants::kiloByte, PREFERRED_SLM_ALLOCATION_SIZE::PREFERRED_SLM_ALLOCATION_SIZE_64KB}, {96 * MemoryConstants::kiloByte, PREFERRED_SLM_ALLOCATION_SIZE::PREFERRED_SLM_ALLOCATION_SIZE_96KB}, {std::numeric_limits::max(), PREFERRED_SLM_ALLOCATION_SIZE::PREFERRED_SLM_ALLOCATION_SIZE_128KB}, }}; return sizeToPreferredSlmValue; } template <> bool ReleaseHelperHw::isDummyBlitWaRequired() const { return true; } template <> bool ReleaseHelperHw::getFtrXe2Compression() const { return false; } } // namespace NEO template class NEO::ReleaseHelperHw;