Revert "fix: allow legacy device binary validation logic for Blender on DG2 p...

This reverts commit d3d15542fb.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2023-10-24 20:25:42 +02:00
committed by Compute-Runtime-Automation
parent dfae4f0fc9
commit 69f614a8c2
10 changed files with 1 additions and 108 deletions

View File

@@ -59,8 +59,6 @@ class AILConfiguration {
virtual bool isContextSyncFlagRequired() = 0;
virtual bool useLegacyValidationLogic() = 0;
protected:
virtual void applyExt(RuntimeCapabilityTable &runtimeCapabilityTable) = 0;
std::string processName;
@@ -86,7 +84,6 @@ class AILConfigurationHw : public AILConfiguration {
void modifyKernelIfRequired(std::string &kernel) override;
bool isFallbackToPatchtokensRequired(const std::string &kernelSources) override;
bool isContextSyncFlagRequired() override;
bool useLegacyValidationLogic() override;
};
template <PRODUCT_FAMILY product>

View File

@@ -45,9 +45,4 @@ inline bool AILConfigurationHw<Product>::isContextSyncFlagRequired() {
return false;
}
template <PRODUCT_FAMILY Product>
inline bool AILConfigurationHw<Product>::useLegacyValidationLogic() {
return false;
}
} // namespace NEO

View File

@@ -30,9 +30,6 @@ const std::vector<ApplicationKernelFixDg2> applicationsKernelFixesDG2 =
{{"FAHBench-gui", "findBlocksWithInteractions", 0xa39732fc26656899, 12651u, "else { SYNC_WARPS; }"},
{"FAHBench-cmd", "findBlocksWithInteractions", 0xa39732fc26656899, 12651u, "else { SYNC_WARPS; }"}};
constexpr std::array<std::string_view, 1> applicationsLegacyValidationPathDG2 = {
"blender"};
template <>
void AILConfigurationHw<IGFX_DG2>::modifyKernelIfRequired(std::string &kernelsSources) {
@@ -48,14 +45,6 @@ void AILConfigurationHw<IGFX_DG2>::modifyKernelIfRequired(std::string &kernelsSo
}
}
template <>
bool AILConfigurationHw<IGFX_DG2>::useLegacyValidationLogic() {
auto it = std::find_if(applicationsLegacyValidationPathDG2.begin(), applicationsLegacyValidationPathDG2.end(), [this](const auto &appName) {
return this->processName == appName;
});
return it != applicationsLegacyValidationPathDG2.end() ? true : false;
}
template class AILConfigurationHw<IGFX_DG2>;
} // namespace NEO