We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e3910da + 77432c2 commit 2c4bf63Copy full SHA for 2c4bf63
source/loader/ur_lib.hpp
@@ -74,13 +74,15 @@ class __urdlllocal context_t : public AtomicSingleton<context_t> {
74
const std::vector<LayerData> layers = {
75
{ur_validation_layer::getContext(),
76
ur_validation_layer::context_t::forceDelete},
77
-#if UR_ENABLE_TRACING
78
- {ur_tracing_layer::getContext(),
79
- ur_tracing_layer::context_t::forceDelete},
80
-#endif
+ // Initialize tracing layer after sanitizer layer to make sure tracing
+ // layer will properly print all API calls.
81
#if UR_ENABLE_SANITIZER
82
{ur_sanitizer_layer::getContext(),
83
ur_sanitizer_layer::context_t::forceDelete},
+#endif
+#if UR_ENABLE_TRACING
84
+ {ur_tracing_layer::getContext(),
85
+ ur_tracing_layer::context_t::forceDelete},
86
#endif
87
};
88
0 commit comments