File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change
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
+ #pragma once
10
+
11
+ namespace torch {
12
+ namespace executor {
13
+
14
+ /* *
15
+ * BackendExecutionContext will be used to inject run time context.
16
+ * The current plan is to add temp allocator and event tracer (for profiling) as
17
+ * part of the runtime context.
18
+ */
19
+ class BackendExecutionContext final {};
20
+
21
+ } // namespace executor
22
+ } // namespace torch
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ def define_common_targets():
15
15
"backend_registry.cpp" ,
16
16
],
17
17
exported_headers = [
18
+ "backend_execution_context.h" ,
18
19
"backend_registry.h" ,
19
20
],
20
21
preprocessor_flags = ["-DUSE_ATEN_LIB" ] if aten_mode else [],
You can’t perform that action at this time.
0 commit comments