Release support for L0 v1.3

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
Jaime Arteaga
2022-01-19 20:07:37 +00:00
committed by Compute-Runtime-Automation
parent 2dc54f6fd9
commit c54633388d
4 changed files with 36 additions and 5 deletions

View File

@@ -90,7 +90,7 @@ NEO::SVMAllocsManager *DriverHandleImp::getSvmAllocsManager() {
}
ze_result_t DriverHandleImp::getApiVersion(ze_api_version_t *version) {
*version = ZE_API_VERSION_1_2;
*version = ZE_API_VERSION_1_3;
return ZE_RESULT_SUCCESS;
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2021 Intel Corporation
* Copyright (C) 2020-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -566,7 +566,7 @@ TEST_F(DriverHandleTest, whenQueryingForApiVersionThenExpectedVersionIsReturned)
ze_api_version_t version = {};
ze_result_t result = driverHandle->getApiVersion(&version);
EXPECT_EQ(ZE_RESULT_SUCCESS, result);
EXPECT_EQ(ZE_API_VERSION_1_2, version);
EXPECT_EQ(ZE_API_VERSION_1_3, version);
}
TEST_F(DriverHandleTest, whenQueryingForDevicesWithCountGreaterThanZeroAndNullDevicePointerThenNullHandleIsReturned) {