Skip to content

Commit 2333e0b

Browse files
committed
Fix Init of Tracing Layer Dynamic Enable Counter
Signed-off-by: Neil R. Spruit <[email protected]>
1 parent 0765f88 commit 2333e0b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Level zero loader changelog
22

3+
## v1.16.15
4+
* Fix Tracing Layer Dynamic Enable Counter
35
## v1.16.14
46
* Fix loading environment strings
57
* Avoid init of Logger unless Enabled by ZEL_ENABLE_LOADER_LOGGING

source/lib/ze_lib.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ namespace ze_lib
5656
ze_dditable_t initialzeDdiTable;
5757
zet_dditable_t initialzetDdiTable;
5858
zes_dditable_t initialzesDdiTable;
59-
std::atomic_uint32_t tracingLayerEnableCounter;
59+
std::atomic_uint32_t tracingLayerEnableCounter{0};
6060

6161
HMODULE tracing_lib = nullptr;
6262
bool isInitialized = false;

0 commit comments

Comments
 (0)