Skip to content

Commit

Permalink
Merge pull request #1940 from RossBrunton/ross/urcall
Browse files Browse the repository at this point in the history
[XPTI] Use `ur.call` rather than `ur` in XPTI
  • Loading branch information
omarahmed1111 authored Aug 20, 2024
2 parents 804851e + 04deb8b commit d0a5052
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/collector/collector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ constexpr uint16_t TRACE_FN_BEGIN =
static_cast<uint16_t>(xpti::trace_point_type_t::function_with_args_begin);
constexpr uint16_t TRACE_FN_END =
static_cast<uint16_t>(xpti::trace_point_type_t::function_with_args_end);
constexpr std::string_view UR_STREAM_NAME = "ur";
constexpr std::string_view UR_STREAM_NAME = "ur.call";

/**
* @brief Formats the function parameters and arguments for urAdapterGet
Expand Down
2 changes: 1 addition & 1 deletion scripts/core/INTRO.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Tracing

Unified Runtime loader implements tracing support through the `XPTI framework <https://github.com/intel/llvm/blob/sycl/xptifw/doc/XPTI_Framework.md>`__.

.. list-table:: UR Stream `"ur"` Notification Signatures
.. list-table:: UR Stream `"ur.call"` Notification Signatures
:header-rows: 1

* - Trace Point Type
Expand Down
2 changes: 1 addition & 1 deletion source/loader/layers/tracing/ur_tracing_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
namespace ur_tracing_layer {
context_t *getContext() { return context_t::get_direct(); }

constexpr auto CALL_STREAM_NAME = "ur";
constexpr auto CALL_STREAM_NAME = "ur.call";
constexpr auto STREAM_VER_MAJOR = UR_MAJOR_VERSION(UR_API_VERSION_CURRENT);
constexpr auto STREAM_VER_MINOR = UR_MINOR_VERSION(UR_API_VERSION_CURRENT);

Expand Down
2 changes: 1 addition & 1 deletion test/layers/tracing/test_collector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ constexpr uint16_t TRACE_FN_BEGIN =
static_cast<uint16_t>(xpti::trace_point_type_t::function_with_args_begin);
constexpr uint16_t TRACE_FN_END =
static_cast<uint16_t>(xpti::trace_point_type_t::function_with_args_end);
constexpr std::string_view UR_STREAM_NAME = "ur";
constexpr std::string_view UR_STREAM_NAME = "ur.call";

XPTI_CALLBACK_API void trace_cb(uint16_t trace_type, xpti::trace_event_data_t *,
xpti::trace_event_data_t *child, uint64_t,
Expand Down
2 changes: 1 addition & 1 deletion tools/urtrace/collector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ constexpr uint16_t TRACE_FN_BEGIN =
static_cast<uint16_t>(xpti::trace_point_type_t::function_with_args_begin);
constexpr uint16_t TRACE_FN_END =
static_cast<uint16_t>(xpti::trace_point_type_t::function_with_args_end);
constexpr std::string_view UR_STREAM_NAME = "ur";
constexpr std::string_view UR_STREAM_NAME = "ur.call";

static logger::Logger out = logger::create_logger("collector", true);

Expand Down

0 comments on commit d0a5052

Please sign in to comment.