mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Revert "refactor: move getProductMaxPreferredSlmSize to release helper"
This reverts commit 944c332371.
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f32d62970d
commit
223eb3e3fc
@@ -7,7 +7,6 @@
|
||||
|
||||
#include "shared/source/release_helper/release_helper.h"
|
||||
#include "shared/source/release_helper/release_helper_base.inl"
|
||||
#include "shared/source/xe_hpg_core/hw_cmds_xe_hpg_core_base.h"
|
||||
|
||||
#include "platforms.h"
|
||||
#include "release_definitions.h"
|
||||
@@ -19,15 +18,6 @@ template <>
|
||||
bool ReleaseHelperHw<release>::isPipeControlPriorToNonPipelinedStateCommandsWARequired() const {
|
||||
return hardwareIpVersion.value == AOT::MTL_P_A0;
|
||||
}
|
||||
template <>
|
||||
int ReleaseHelperHw<release>::getProductMaxPreferredSlmSize(int preferredEnumValue) const {
|
||||
using PREFERRED_SLM_ALLOCATION_SIZE = typename XeHpgCoreFamily::INTERFACE_DESCRIPTOR_DATA::PREFERRED_SLM_ALLOCATION_SIZE;
|
||||
|
||||
if (hardwareIpVersion.value == AOT::MTL_P_A0) {
|
||||
return static_cast<int>(PREFERRED_SLM_ALLOCATION_SIZE::PREFERRED_SLM_ALLOCATION_SIZE_96K);
|
||||
}
|
||||
return preferredEnumValue;
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
|
||||
Reference in New Issue
Block a user