Skip to content

Commit 0b21199

Browse files
authored
Disconnect zeInitDrivers and zeDriverGet
1 parent 0a681d7 commit 0b21199

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/loader/ze_ldrddi.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ namespace loader
134134
for( auto& drv : loader::context->zeDrivers )
135135
{
136136
if (!drv.dditable.ze.Global.pfnInitDrivers) {
137-
drv.initStatus = ZE_RESULT_ERROR_UNINITIALIZED;
137+
drv.initDriversStatus = ZE_RESULT_ERROR_UNINITIALIZED;
138138
continue;
139139
}
140140

@@ -147,7 +147,7 @@ namespace loader
147147
if( ZE_RESULT_SUCCESS != result ) {
148148
// If Get Drivers fails with Uninitialized, then update the driver init status to prevent reporting this driver in the next get call.
149149
if (ZE_RESULT_ERROR_UNINITIALIZED == result) {
150-
drv.initStatus = result;
150+
drv.initDriversStatus = result;
151151
}
152152
continue;
153153
}

0 commit comments

Comments
 (0)