Files
compute-runtime/shared/source/ail/ail_configuration_base.inl
Maciej Plewka 8151224501 fix: add microsecond resolution for timeout
Related-To: NEO-13445
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-12-13 09:32:18 +01:00

95 lines
2.5 KiB
C++

/*
* Copyright (C) 2022-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/ail/ail_configuration.h"
#include <string>
namespace NEO {
template <PRODUCT_FAMILY product>
inline void AILConfigurationHw<product>::modifyKernelIfRequired(std::string &kernel) {
}
template <PRODUCT_FAMILY product>
inline void AILConfigurationHw<product>::applyExt(RuntimeCapabilityTable &runtimeCapabilityTable) {
}
template <PRODUCT_FAMILY product>
inline bool AILConfigurationHw<product>::isContextSyncFlagRequired() {
return false;
}
template <PRODUCT_FAMILY product>
inline bool AILConfigurationHw<product>::isRunAloneContextRequired() {
return false;
}
template <PRODUCT_FAMILY product>
inline bool AILConfigurationHw<product>::is256BPrefetchDisableRequired() {
return false;
}
template <PRODUCT_FAMILY product>
inline bool AILConfigurationHw<product>::drainHostptrs() {
return true;
}
template <PRODUCT_FAMILY product>
inline bool AILConfigurationHw<product>::isBufferPoolEnabled() {
return true;
}
template <PRODUCT_FAMILY product>
inline bool AILConfigurationHw<product>::useLegacyValidationLogic() {
return false;
}
template <PRODUCT_FAMILY product>
inline bool AILConfigurationHw<product>::forceRcs() {
return shouldForceRcs;
}
template <PRODUCT_FAMILY product>
inline bool AILConfigurationHw<product>::handleDivergentBarriers() {
return shouldHandleDivergentBarriers;
}
template <PRODUCT_FAMILY product>
inline bool AILConfigurationHw<product>::disableBindlessAddressing() {
return shouldDisableBindlessAddressing;
}
template <PRODUCT_FAMILY product>
inline void AILConfigurationHw<product>::setHandleDivergentBarriers(bool val) {
shouldHandleDivergentBarriers = val;
}
template <PRODUCT_FAMILY product>
inline void AILConfigurationHw<product>::setDisableBindlessAddressing(bool val) {
shouldDisableBindlessAddressing = val;
}
template <PRODUCT_FAMILY product>
inline bool AILConfigurationHw<product>::limitAmountOfDeviceMemoryForRecycling() {
return false;
}
template <PRODUCT_FAMILY product>
inline bool AILConfigurationHw<product>::isFallbackToPatchtokensRequired() {
return false;
}
template <PRODUCT_FAMILY product>
inline bool AILConfigurationHw<product>::isAdjustMicrosecondResolutionRequired() {
return shouldAdjustMicrosecondResolution;
}
template <PRODUCT_FAMILY product>
inline uint32_t AILConfigurationHw<product>::getMicrosecondResolution() {
return microsecondAdjustment;
}
} // namespace NEO