Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions source/loader/ur_lib.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,15 @@ class __urdlllocal context_t : public AtomicSingleton<context_t> {
const std::vector<LayerData> layers = {
{ur_validation_layer::getContext(),
ur_validation_layer::context_t::forceDelete},
#if UR_ENABLE_TRACING
{ur_tracing_layer::getContext(),
ur_tracing_layer::context_t::forceDelete},
#endif
// Initialize tracing layer after sanitizer layer to make sure tracing
// layer will properly print all API calls.
#if UR_ENABLE_SANITIZER
{ur_sanitizer_layer::getContext(),
ur_sanitizer_layer::context_t::forceDelete},
#endif
#if UR_ENABLE_TRACING
{ur_tracing_layer::getContext(),
ur_tracing_layer::context_t::forceDelete},
#endif
};

Expand Down
Loading