mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Summary: This diff adds support in the ExecuTorch codegen layer to log the outputs of kernels to event_tracer. It does this by calling the `event_tracer_log_evalue` API. When the `ET_EVENT_TRACER_ENABLED` flag is disabled this is essentially a no-op and will add no overhead. Test Plan: CI Reviewed By: larryliu0820 Differential Revision: D51534590 Pull Request resolved: https://github.com/pytorch/pytorch/pull/114584 Approved by: https://github.com/larryliu0820 |
||
|---|---|---|
| .. | ||
| templates | ||
| CMakeLists.txt | ||
| custom_ops.cpp | ||
| custom_ops.yaml | ||
| Evalue.h | ||
| event_tracer_hooks.h | ||
| event_tracer.h | ||
| kernel_runtime_context.h | ||
| operator_registry.cpp | ||
| operator_registry.h | ||
| selected_operators.yaml | ||
| test_main.cpp | ||
| test_operator_registration.cpp | ||