fix: add missing API to extension lookup map
Related-To: NEO-7966 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
parent
3a5345015c
commit
c03fe171f8
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2020-2023 Intel Corporation
|
||||
* Copyright (C) 2020-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -24,6 +24,7 @@ std::unordered_map<std::string, void *> getExtensionFunctionsLookupMap() {
|
|||
addToMap(lookupMap, zexMemOpenIpcHandles);
|
||||
|
||||
addToMap(lookupMap, zexCommandListAppendWaitOnMemory);
|
||||
addToMap(lookupMap, zexCommandListAppendWaitOnMemory64);
|
||||
addToMap(lookupMap, zexCommandListAppendWriteToMemory);
|
||||
#undef addToMap
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2020-2023 Intel Corporation
|
||||
* Copyright (C) 2020-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
|
@ -5145,5 +5145,10 @@ HWTEST2_F(RTASDeviceTest, GivenMissingSymbolsInRTASLibraryWhenQueryingRTASPropte
|
|||
EXPECT_EQ(ZE_RTAS_FORMAT_EXP_INVALID, rtasProperties.rtasFormat);
|
||||
}
|
||||
|
||||
TEST(ExtensionLookupTest, givenLookupMapWhenAskingForZexCommandListAppendWaitOnMemory64ThenReturnCorrectValue) {
|
||||
auto map = getExtensionFunctionsLookupMap();
|
||||
EXPECT_NE(map.end(), map.find("zexCommandListAppendWaitOnMemory64"));
|
||||
}
|
||||
|
||||
} // namespace ult
|
||||
} // namespace L0
|
||||
|
|
Loading…
Reference in New Issue