We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb12735 commit 1fc8584Copy full SHA for 1fc8584
1 file changed
source/loader/ze_loader.cpp
@@ -152,7 +152,8 @@ namespace loader
152
}
153
it = drivers->erase(it);
154
// If the number of drivers is now ==1, then we need to reinit the ddi tables to pass through.
155
- if (drivers->size() == 1) {
+ // If ZE_ENABLE_LOADER_INTERCEPT is set to 1, then even if drivers were removed, don't reinit the ddi tables.
156
+ if (drivers->size() == 1 && !loader::context->forceIntercept) {
157
*requireDdiReinit = true;
158
159
if(return_first_driver_result)
0 commit comments