xref: /aosp_15_r20/external/executorch/runtime/kernel/kernel_includes.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 /**
10  * @file
11  *
12  * Common includes used by all kernel implementations.
13  */
14 
15 #pragma once
16 
17 // This list should be very conservative since most kernel .cpp files will
18 // include these and depend on their transitive deps. Only add a header if 99%
19 // of kernels would have included it anyway.
20 #include <executorch/runtime/core/exec_aten/exec_aten.h> // IWYU pragma: export
21 #include <executorch/runtime/core/exec_aten/util/scalar_type_util.h> // IWYU pragma: export
22 #include <executorch/runtime/core/exec_aten/util/tensor_util.h> // IWYU pragma: export
23 #include <executorch/runtime/kernel/kernel_runtime_context.h> // IWYU pragma: export
24