Skip to content

Commit e59d4e1

Browse files
committed
Update
[ghstack-poisoned]
2 parents 3de977f + d75e0fb commit e59d4e1

3 files changed

Lines changed: 14 additions & 15 deletions

File tree

backends/xnnpack/CMakeLists.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -100,21 +100,6 @@ set(xnnpack_third_party pthreadpool extension_threadpool cpuinfo)
100100

101101
include(cmake/Dependencies.cmake)
102102

103-
# Graph runtime sources.
104-
list(
105-
APPEND
106-
_xnnpack_backend__srcs
107-
backends/xnnpack/runtime/core/tensor.cpp
108-
backends/xnnpack/runtime/core/quant_params.cpp
109-
backends/xnnpack/runtime/graph/graph.cpp
110-
backends/xnnpack/runtime/graph/graph_builder.cpp
111-
backends/xnnpack/runtime/operators/operator.cpp
112-
backends/xnnpack/runtime/executor/arena.cpp
113-
backends/xnnpack/runtime/executor/shape_env.cpp
114-
backends/xnnpack/runtime/plan/xnn_support.cpp
115-
backends/xnnpack/runtime/plan/partition.cpp
116-
)
117-
118103
list(TRANSFORM _xnnpack_backend__srcs PREPEND "${EXECUTORCH_ROOT}/")
119104
add_library(xnnpack_backend ${_xnnpack_backend__srcs})
120105
target_link_libraries(

backends/xnnpack/targets.bzl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ def define_common_targets():
4141
headers = native.glob([
4242
"runtime/*.h",
4343
"runtime/profiling/*.h",
44+
"runtime/core/*.h",
45+
"runtime/graph/*.h",
46+
"runtime/operators/*.h",
47+
"runtime/executor/*.h",
48+
"runtime/plan/*.h",
4449
]),
4550
visibility = ["PUBLIC"],
4651
preprocessor_flags = [

shim_et/xplat/executorch/build/build_variables.bzl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,15 @@ XNNPACK_BACKEND_BUCK_SRCS = [
480480
"runtime/XNNWorkspaceManager.cpp",
481481
"runtime/XnnpackBackendOptions.cpp",
482482
"runtime/profiling/XNNProfiler.cpp",
483+
"runtime/core/tensor.cpp",
484+
"runtime/core/quant_params.cpp",
485+
"runtime/graph/graph.cpp",
486+
"runtime/graph/graph_builder.cpp",
487+
"runtime/operators/operator.cpp",
488+
"runtime/executor/arena.cpp",
489+
"runtime/executor/shape_env.cpp",
490+
"runtime/plan/partition.cpp",
491+
"runtime/plan/xnn_support.cpp",
483492
]
484493

485494
XNNPACK_BACKEND_SRCS = ["backends/xnnpack/" + x for x in XNNPACK_BACKEND_BUCK_SRCS]

0 commit comments

Comments
 (0)