2022-06-15 19:49:38 +08:00
|
|
|
/*
|
2024-02-08 00:36:04 +08:00
|
|
|
* Copyright (C) 2022-2024 Intel Corporation
|
2022-06-15 19:49:38 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2022-11-07 21:04:52 +08:00
|
|
|
#include "shared/source/ail/ail_configuration.h"
|
|
|
|
|
2022-06-15 19:49:38 +08:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
2023-11-30 21:33:54 +08:00
|
|
|
template <PRODUCT_FAMILY product>
|
|
|
|
inline void AILConfigurationHw<product>::modifyKernelIfRequired(std::string &kernel) {
|
2022-06-15 19:49:38 +08:00
|
|
|
}
|
|
|
|
|
2023-11-30 21:33:54 +08:00
|
|
|
template <PRODUCT_FAMILY product>
|
|
|
|
inline void AILConfigurationHw<product>::applyExt(RuntimeCapabilityTable &runtimeCapabilityTable) {
|
2022-06-15 19:49:38 +08:00
|
|
|
}
|
|
|
|
|
2023-11-30 21:33:54 +08:00
|
|
|
template <PRODUCT_FAMILY product>
|
|
|
|
inline bool AILConfigurationHw<product>::isContextSyncFlagRequired() {
|
2024-09-30 17:34:50 +08:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
template <PRODUCT_FAMILY product>
|
|
|
|
inline bool AILConfigurationHw<product>::is256BPrefetchDisableRequired() {
|
2023-10-14 19:32:40 +08:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2024-06-18 18:14:25 +08:00
|
|
|
template <PRODUCT_FAMILY product>
|
|
|
|
inline bool AILConfigurationHw<product>::isBufferPoolEnabled() {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2023-11-30 21:33:54 +08:00
|
|
|
template <PRODUCT_FAMILY product>
|
|
|
|
inline bool AILConfigurationHw<product>::useLegacyValidationLogic() {
|
2023-10-19 07:43:21 +08:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2024-02-08 00:36:04 +08:00
|
|
|
template <PRODUCT_FAMILY product>
|
|
|
|
inline bool AILConfigurationHw<product>::forceRcs() {
|
|
|
|
return shouldForceRcs;
|
|
|
|
}
|
|
|
|
|
2024-08-08 18:31:57 +08:00
|
|
|
template <PRODUCT_FAMILY product>
|
|
|
|
inline bool AILConfigurationHw<product>::handleDivergentBarriers() {
|
|
|
|
return shouldHandleDivergentBarriers;
|
|
|
|
}
|
|
|
|
template <PRODUCT_FAMILY product>
|
2024-09-18 20:38:06 +08:00
|
|
|
inline bool AILConfigurationHw<product>::disableBindlessAddressing() {
|
|
|
|
return shouldDisableBindlessAddressing;
|
|
|
|
}
|
|
|
|
template <PRODUCT_FAMILY product>
|
2024-08-08 18:31:57 +08:00
|
|
|
inline void AILConfigurationHw<product>::setHandleDivergentBarriers(bool val) {
|
|
|
|
shouldHandleDivergentBarriers = val;
|
|
|
|
}
|
2024-09-18 20:38:06 +08:00
|
|
|
template <PRODUCT_FAMILY product>
|
|
|
|
inline void AILConfigurationHw<product>::setDisableBindlessAddressing(bool val) {
|
|
|
|
shouldDisableBindlessAddressing = val;
|
|
|
|
}
|
2024-08-08 18:31:57 +08:00
|
|
|
|
2022-06-15 19:49:38 +08:00
|
|
|
} // namespace NEO
|