Skip to content

Fix a small inconsistency on the SDK debugging page #3247

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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
4 changes: 2 additions & 2 deletions docs/source/sdk-debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ For a real example reflecting the steps below, please refer to [sdk_example_runn
Span<uint8_t> buffer((uint8_t*)debug_buffer, debug_buffer_size);
etdump_gen.set_debug_buffer(buffer);
etdump_gen.set_event_tracer_debug_level(
EventTracerDebugLogLevel::kIntermediateOutputs);
EventTracerDebugLogLevel::kProgramOutputs);
```

- Intermediate outputs of executed (non-delegated) operations (will include the program level outputs too)
```C++
Span<uint8_t> buffer((uint8_t*)debug_buffer, debug_buffer_size);
etdump_gen.set_debug_buffer(buffer);
etdump_gen.set_event_tracer_debug_level(
EventTracerDebugLogLevel::kProgramOutputs);
EventTracerDebugLogLevel::kIntermediateOutputs);
```
3. Build the runtime with the pre-processor flag that enables tracking of debug events. Instructions are in the [ETDump documentation](./sdk-etdump.md).
4. Run your model and dump out the ETDump buffer as described [here](./sdk-etdump.md). (Do so similarly for the debug buffer if configured above)
Expand Down