Skip to content

Commit

Permalink
Fix Init of Tracing Layer Dynamic Enable Counter
Browse files Browse the repository at this point in the history
Signed-off-by: Neil R. Spruit <[email protected]>
  • Loading branch information
nrspruit committed Apr 24, 2024
1 parent 0765f88 commit 2333e0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Level zero loader changelog

## v1.16.15
* Fix Tracing Layer Dynamic Enable Counter
## v1.16.14
* Fix loading environment strings
* Avoid init of Logger unless Enabled by ZEL_ENABLE_LOADER_LOGGING
Expand Down
2 changes: 1 addition & 1 deletion source/lib/ze_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ namespace ze_lib
ze_dditable_t initialzeDdiTable;
zet_dditable_t initialzetDdiTable;
zes_dditable_t initialzesDdiTable;
std::atomic_uint32_t tracingLayerEnableCounter;
std::atomic_uint32_t tracingLayerEnableCounter{0};

HMODULE tracing_lib = nullptr;
bool isInitialized = false;
Expand Down

0 comments on commit 2333e0b

Please sign in to comment.