Skip to content

Commit 7563955

Browse files
committed
fix: Fix the cert validation checker to call getInstance and fix null driver cmd list test
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
1 parent 3fd6ea7 commit 7563955

File tree

5 files changed

+18
-4
lines changed

5 files changed

+18
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Level zero loader changelog
2+
## v1.23.2
3+
* fix: Avoid invalid casting into loader objects when DDI extension is supported
4+
* Fix potential SIOF issue with checker layers
25
## v1.23.1
36
* Fix Sysman only DDI Init for zesDriver compatability
47
## v1.23.0

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if(MSVC AND (MSVC_VERSION LESS 1900))
1313
endif()
1414

1515
# This project follows semantic versioning (https://semver.org/)
16-
project(level-zero VERSION 1.23.1)
16+
project(level-zero VERSION 1.23.2)
1717

1818
include(GNUInstallDirs)
1919

PRODUCT_GUID.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1.23.1
2-
fd1c864d-4ba3-4321-bdfc-66f50cf6b6bf
1+
1.23.2
2+
7a2306e5-ca56-4ead-9c90-28db3a445afd

source/drivers/null/ze_null.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,17 @@ namespace driver
166166
return ZE_RESULT_SUCCESS;
167167
};
168168

169+
//////////////////////////////////////////////////////////////////////////
170+
zeDdiTable.CommandList.pfnCreateImmediate = [](
171+
ze_context_handle_t,
172+
ze_device_handle_t,
173+
const ze_command_queue_desc_t* desc,
174+
ze_command_list_handle_t* phCommandListImmediate )
175+
{
176+
*phCommandListImmediate = reinterpret_cast<ze_command_list_handle_t>(context.get());
177+
return ZE_RESULT_SUCCESS;
178+
};
179+
169180
//////////////////////////////////////////////////////////////////////////
170181
zeDdiTable.CommandQueue.pfnCreate = [](
171182
ze_context_handle_t,

source/layers/validation/checkers/certification/zel_certification_checker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ certificationChecker::certificationChecker() {
3838
certification_checker.zeValidation = zeChecker;
3939
certification_checker.zetValidation = zetChecker;
4040
certification_checker.zesValidation = zesChecker;
41-
validation_layer::context.validationHandlers.push_back(
41+
validation_layer::context.getInstance().validationHandlers.push_back(
4242
&certification_checker);
4343
}
4444
}

0 commit comments

Comments
 (0)