Skip to content

Commit 582efac

Browse files
committed
Update base for Update on "[ET Device Support] Add NonConstBufferDevice schema for per-buffer device mapping"
Adds the NonConstBufferDevice table to the FlatBuffer schema (program.fbs) and the corresponding Python dataclass to schema.py. This enables mapping each non-constant planned memory buffer to a specific device type (CPU, CUDA, etc.). The field is optional and absent for CPU-only programs, ensuring zero binary size regression. Differential Revision: [D97335597](https://our.internmc.facebook.com/intern/diff/D97335597/) [ghstack-poisoned]
2 parents e47f3b5 + 0cafcb2 commit 582efac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runtime/core/targets.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def define_common_targets():
9191
exported_deps = [
9292
":core",
9393
":memory_allocator",
94-
"//executorch/runtime/core/portable_type:portable_type",
94+
"//executorch/runtime/core/exec_aten:lib",
9595
],
9696
visibility = ["PUBLIC"],
9797
)

0 commit comments

Comments
 (0)