xref: /aosp_15_r20/external/executorch/codegen/templates/RegisterKernels.h (revision 523fa7a60841cd1ecfb9cc4201f1ca8b03ed023a)
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  * All rights reserved.
4  *
5  * This source code is licensed under the BSD-style license found in the
6  * LICENSE file in the root directory of this source tree.
7  */
8 
9 // ${generated_comment}
10 // Exposing an API for registering all kernels at once.
11 #include <executorch/runtime/core/evalue.h>
12 #include <executorch/runtime/core/exec_aten/exec_aten.h>
13 #include <executorch/runtime/kernel/operator_registry.h>
14 #include <executorch/runtime/platform/profiler.h>
15 
16 namespace torch {
17 namespace executor {
18 
19 Error register_all_kernels();
20 
21 } // namespace executor
22 } // namespace torch
23