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
8 changes: 7 additions & 1 deletion runtime/backend/backend_init_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@ class BackendInitContext final {
const char* method_name = nullptr,
const NamedDataMap* named_data_map = nullptr)
: runtime_allocator_(runtime_allocator),
#ifdef ET_EVENT_TRACER_ENABLED
event_tracer_(event_tracer),
#else
event_tracer_(nullptr),
#endif
method_name_(method_name),
named_data_map_(named_data_map) {}
named_data_map_(named_data_map) {
}

/** Get the runtime allocator passed from Method. It's the same runtime
* executor used by the standard executor runtime and the life span is the
Expand Down
Loading