feature: Adding debug key for custom igc lib name

This commit adds new debug key which can be used
to override loaded igc libary name.

E.g. IgcLibraryName=my_custom_igc.so

Related-To: NEO-14579

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
This commit is contained in:
Chodor, Jaroslaw
2025-05-22 11:59:28 +00:00
committed by Compute-Runtime-Automation
parent bd938166e6
commit 2c10dc2f53
4 changed files with 13 additions and 0 deletions

View File

@@ -316,6 +316,9 @@ bool CompilerProductHelperHw<gfxProduct>::isForceBindlessRequired(const Hardware
template <PRODUCT_FAMILY gfxProduct>
const char *CompilerProductHelperHw<gfxProduct>::getCustomIgcLibraryName() const {
if (debugManager.flags.IgcLibraryName.get() != "unk") {
return debugManager.flags.IgcLibraryName.getRef().c_str();
}
return nullptr;
}