mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
refactor: Refactor release_helper_common_xe_lpg.inl
Apply common file to release 12.74. Move isMatrixMultiplyAccumulateSupported specialization outside of the common file. Move common specializations from releases: 12.70, 12.71, 12.74 to release_helper_common_xe_lpg.inl file. Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
cc5c0e2741
commit
07abb404e0
@@ -32,26 +32,11 @@ inline bool ReleaseHelperHw<release>::isAuxSurfaceModeOverrideRequired() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ReleaseHelperHw<release>::isDirectSubmissionLightSupported() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
inline bool ReleaseHelperHw<release>::isDotProductAccumulateSystolicSupported() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
inline bool ReleaseHelperHw<release>::isBindlessAddressingDisabled() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
inline bool ReleaseHelperHw<release>::isGlobalBindlessAllocatorEnabled() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
const SizeToPreferredSlmValueArray &ReleaseHelperHw<release>::getSizeToPreferredSlmValue(bool isHeapless) const {
|
||||
using PREFERRED_SLM_ALLOCATION_SIZE = typename XeHpgCoreFamily::INTERFACE_DESCRIPTOR_DATA::PREFERRED_SLM_ALLOCATION_SIZE;
|
||||
@@ -70,6 +55,11 @@ bool ReleaseHelperHw<release>::isDummyBlitWaRequired() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ReleaseHelperHw<release>::isMatrixMultiplyAccumulateSupported() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
#include "shared/source/release_helper/release_helper_common_xe_lpg.inl"
|
||||
|
||||
|
||||
@@ -32,26 +32,11 @@ inline bool ReleaseHelperHw<release>::isAuxSurfaceModeOverrideRequired() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ReleaseHelperHw<release>::isDirectSubmissionLightSupported() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
inline bool ReleaseHelperHw<release>::isDotProductAccumulateSystolicSupported() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
inline bool ReleaseHelperHw<release>::isBindlessAddressingDisabled() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
inline bool ReleaseHelperHw<release>::isGlobalBindlessAllocatorEnabled() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
const SizeToPreferredSlmValueArray &ReleaseHelperHw<release>::getSizeToPreferredSlmValue(bool isHeapless) const {
|
||||
using PREFERRED_SLM_ALLOCATION_SIZE = typename XeHpgCoreFamily::INTERFACE_DESCRIPTOR_DATA::PREFERRED_SLM_ALLOCATION_SIZE;
|
||||
@@ -70,6 +55,11 @@ bool ReleaseHelperHw<release>::isDummyBlitWaRequired() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ReleaseHelperHw<release>::isMatrixMultiplyAccumulateSupported() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
#include "shared/source/release_helper/release_helper_common_xe_lpg.inl"
|
||||
|
||||
@@ -29,36 +29,11 @@ bool ReleaseHelperHw<release>::isPipeControlPriorToPipelineSelectWaRequired() co
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ReleaseHelperHw<release>::isDirectSubmissionLightSupported() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ReleaseHelperHw<release>::isDirectSubmissionSupported() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ReleaseHelperHw<release>::getFtrXe2Compression() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ReleaseHelperHw<release>::isBlitImageAllowedForDepthFormat() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
inline bool ReleaseHelperHw<release>::isBindlessAddressingDisabled() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
inline bool ReleaseHelperHw<release>::isGlobalBindlessAllocatorEnabled() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
const SizeToPreferredSlmValueArray &ReleaseHelperHw<release>::getSizeToPreferredSlmValue(bool isHeapless) const {
|
||||
using PREFERRED_SLM_ALLOCATION_SIZE = typename XeHpgCoreFamily::INTERFACE_DESCRIPTOR_DATA::PREFERRED_SLM_ALLOCATION_SIZE;
|
||||
@@ -75,4 +50,6 @@ const SizeToPreferredSlmValueArray &ReleaseHelperHw<release>::getSizeToPreferred
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
#include "shared/source/release_helper/release_helper_common_xe_lpg.inl"
|
||||
|
||||
template class NEO::ReleaseHelperHw<NEO::release>;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2023-2024 Intel Corporation
|
||||
* Copyright (C) 2023-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -11,10 +11,20 @@
|
||||
namespace NEO {
|
||||
|
||||
template <>
|
||||
bool ReleaseHelperHw<release>::isMatrixMultiplyAccumulateSupported() const {
|
||||
bool ReleaseHelperHw<release>::isDirectSubmissionLightSupported() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
inline bool ReleaseHelperHw<release>::isBindlessAddressingDisabled() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
inline bool ReleaseHelperHw<release>::isGlobalBindlessAllocatorEnabled() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <>
|
||||
bool ReleaseHelperHw<release>::isDirectSubmissionSupported() const {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user