mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
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:
committed by
Compute-Runtime-Automation
parent
bd938166e6
commit
2c10dc2f53
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user