mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 20:13:04 +08:00
Unify reading hw avaialble slm size: Pre-Xe2 SLMSizeInKb stores total SLM size across all DSS Xe2+ SLMSizeInKb stores SLM size per SS apply restrictions for preferred/programmable SLM size Related-To: NEO-12949 Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
20 lines
621 B
C++
20 lines
621 B
C++
/*
|
|
* Copyright (C) 2021-2025 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/gen12lp/hw_cmds_adls.h"
|
|
#include "shared/source/gen12lp/hw_info_adls.h"
|
|
#include "shared/source/helpers/hw_info.h"
|
|
#include "shared/source/os_interface/product_helper_hw.h"
|
|
|
|
constexpr static auto gfxProduct = IGFX_ALDERLAKE_S;
|
|
|
|
#include "shared/source/gen12lp/adls/os_agnostic_product_helper_adls.inl"
|
|
#include "shared/source/gen12lp/os_agnostic_product_helper_gen12lp.inl"
|
|
#include "shared/source/os_interface/linux/product_helper_before_xe2_drm_slm.inl"
|
|
|
|
template class NEO::ProductHelperHw<gfxProduct>;
|