|
32 | 32 | #include "shared/test/common/mocks/ult_device_factory.h" |
33 | 33 | #include "shared/test/common/test_macros/hw_test.h" |
34 | 34 |
|
| 35 | +#include "level_zero/api/core/preview_api_entrypoints.h" |
35 | 36 | #include "level_zero/core/source/builtin/builtin_functions_lib_impl.h" |
36 | 37 | #include "level_zero/core/source/driver/driver_handle_imp.h" |
37 | 38 | #include "level_zero/core/source/driver/driver_imp.h" |
@@ -835,7 +836,7 @@ TEST(DriverTest, givenDriverWhenGetDefaultContextApiIsCalledThenProperHandleIsRe |
835 | 836 | auto driverHandle = whiteboxCast(static_cast<::L0::DriverHandleImp *>(DriverHandle::create(std::move(devices), envVariables, &returnValue))); |
836 | 837 | EXPECT_NE(nullptr, driverHandle); |
837 | 838 |
|
838 | | - auto defaultContext = zeDriverGetDefaultContext(driverHandle); |
| 839 | + auto defaultContext = ::zeDriverGetDefaultContext(driverHandle); |
839 | 840 |
|
840 | 841 | EXPECT_NE(nullptr, defaultContext); |
841 | 842 |
|
@@ -1315,16 +1316,16 @@ TEST_F(DriverExperimentalApiTest, whenRetrievingApiFunctionThenExpectProperPoint |
1315 | 1316 | decltype(&zexDriverImportExternalPointer) expectedImport = zexDriverImportExternalPointer; |
1316 | 1317 | decltype(&zexDriverReleaseImportedPointer) expectedRelease = zexDriverReleaseImportedPointer; |
1317 | 1318 | decltype(&zexDriverGetHostPointerBaseAddress) expectedGet = zexDriverGetHostPointerBaseAddress; |
1318 | | - decltype(&zeDriverGetDefaultContext) expectedZeDriverGetDefaultContext = zeDriverGetDefaultContext; |
1319 | | - decltype(&zerGetDefaultContext) expectedZerGetDefaultContext = zerGetDefaultContext; |
1320 | | - decltype(&zerGetLastErrorDescription) expectedZerGetLastErrorDescription = zerGetLastErrorDescription; |
| 1319 | + decltype(&zeDriverGetDefaultContext) expectedZeDriverGetDefaultContext = L0::zeDriverGetDefaultContext; |
| 1320 | + decltype(&zerGetDefaultContext) expectedZerGetDefaultContext = L0::zerGetDefaultContext; |
| 1321 | + decltype(&zerGetLastErrorDescription) expectedZerGetLastErrorDescription = L0::zerGetLastErrorDescription; |
1321 | 1322 |
|
1322 | | - decltype(&zerTranslateDeviceHandleToIdentifier) expectedZerTranslateDeviceHandleToIdentifier = zerTranslateDeviceHandleToIdentifier; |
1323 | | - decltype(&zerTranslateIdentifierToDeviceHandle) expectedZerTranslateIdentifierToDeviceHandle = zerTranslateIdentifierToDeviceHandle; |
1324 | | - decltype(&zeDeviceSynchronize) expectedZeDeviceSynchronize = zeDeviceSynchronize; |
| 1323 | + decltype(&zerTranslateDeviceHandleToIdentifier) expectedZerTranslateDeviceHandleToIdentifier = L0::zerTranslateDeviceHandleToIdentifier; |
| 1324 | + decltype(&zerTranslateIdentifierToDeviceHandle) expectedZerTranslateIdentifierToDeviceHandle = L0::zerTranslateIdentifierToDeviceHandle; |
| 1325 | + decltype(&zeDeviceSynchronize) expectedZeDeviceSynchronize = L0::zeDeviceSynchronize; |
1325 | 1326 |
|
1326 | | - decltype(&zeCommandListAppendLaunchKernelWithArguments) expectedZeCommandListAppendLaunchKernelWithArguments = zeCommandListAppendLaunchKernelWithArguments; |
1327 | | - decltype(&zeCommandListAppendLaunchKernelWithParameters) expectedZeCommandListAppendLaunchKernelWithParameters = zeCommandListAppendLaunchKernelWithParameters; |
| 1327 | + decltype(&zeCommandListAppendLaunchKernelWithArguments) expectedZeCommandListAppendLaunchKernelWithArguments = L0::zeCommandListAppendLaunchKernelWithArguments; |
| 1328 | + decltype(&zeCommandListAppendLaunchKernelWithParameters) expectedZeCommandListAppendLaunchKernelWithParameters = L0::zeCommandListAppendLaunchKernelWithParameters; |
1328 | 1329 |
|
1329 | 1330 | decltype(&zexKernelGetBaseAddress) expectedKernelGetBaseAddress = zexKernelGetBaseAddress; |
1330 | 1331 | decltype(&zeIntelGetDriverVersionString) expectedIntelGetDriverVersionString = zeIntelGetDriverVersionString; |
|
0 commit comments