pytorch/test/edge
Tarun Karuturi 39f16c221e Adding event_tracer evalue logging calls in codegen (#114584)
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
2023-11-28 18:32:05 +00:00
..
templates [executorch][kernel reg] Allow kernel manual registration (#110086) 2023-09-27 16:04:20 +00:00
CMakeLists.txt Enable Wno-unused-private-field,Wunused-lambda-capture and fix CUDA warnings (#110856) 2023-10-25 03:39:05 +00:00
custom_ops.cpp
custom_ops.yaml [Specialized Kernel] Update yaml syntax to use kernel instead of dispatch (#104070) 2023-06-27 09:53:20 +00:00
Evalue.h
event_tracer_hooks.h Adding event_tracer evalue logging calls in codegen (#114584) 2023-11-28 18:32:05 +00:00
event_tracer.h Add support for event_tracer in codegen layer (#109990) 2023-09-27 09:09:03 +00:00
kernel_runtime_context.h Add support for event_tracer in codegen layer (#109990) 2023-09-27 09:09:03 +00:00
operator_registry.cpp
operator_registry.h [torchgen] Rename executorch's RuntimeContext to KernelRuntimeContext (#104892) 2023-07-14 21:15:50 +00:00
selected_operators.yaml [Reland][ET] Select used et_kernel_metadata only (#104005) 2023-06-23 14:38:45 +00:00
test_main.cpp
test_operator_registration.cpp [torchgen] Rename executorch's RuntimeContext to KernelRuntimeContext (#104892) 2023-07-14 21:15:50 +00:00