mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
feature: Add logic to disable bindless addressing via AIL
Add mockable Device functions to get ReleaseHelper and AILConfiguration. Resolves: NEO-12699 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9a44ac6779
commit
ebc19b4a70
@@ -44,8 +44,16 @@ 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;
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user