Skip to content

Commit ff9f35b

Browse files
zonglinpengfacebook-github-bot
authored andcommitted
fix new op dependencies (#12864)
Summary: Pull Request resolved: #12864 Rollback Plan: Differential Revision: D79009204
1 parent 83d6d63 commit ff9f35b

18 files changed

+104
-42
lines changed

backends/cadence/vision/kernels/TARGETS

Lines changed: 0 additions & 5 deletions
This file was deleted.

backends/cadence/vision/kernels/targets.bzl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@ def define_common_targets():
1212
"//executorch/backends/cadence/...",
1313
],
1414
platforms = CXX,
15+
deps = [
16+
"//executorch/backends/cadence/vision/third-party:vision-nnlib",
17+
"//executorch/runtime/kernel:kernel_includes",
18+
],
1519
)

backends/cadence/vision/operators/CMakeLists.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,16 @@ target_include_directories(
8383
# Custom ops that are needed to run the test model.
8484
add_library(
8585
custom_ops
86-
"quantized_linear_out.cpp"
87-
"quantized_conv_out.cpp"
88-
"quantized_relu_out.cpp"
89-
"quantized_layer_norm.cpp"
90-
"quantize_per_tensor.cpp"
91-
"quantized_fully_connected_out.cpp"
92-
"dequantize_per_tensor.cpp"
93-
"quantized_matmul_out.cpp"
94-
"requantize_out.cpp"
95-
"im2row_out.cpp"
86+
"op_quantized_linear_out.cpp"
87+
"op_quantized_conv_out.cpp"
88+
"op_quantized_relu_out.cpp"
89+
"op_quantized_layer_norm.cpp"
90+
"op_quantize_per_tensor.cpp"
91+
"op_quantized_fully_connected_out.cpp"
92+
"op_dequantize_per_tensor.cpp"
93+
"op_quantized_matmul_out.cpp"
94+
"op_requantize_out.cpp"
95+
"op_im2row_out.cpp"
9696
)
9797
target_include_directories(
9898
custom_ops PUBLIC ${ROOT_DIR}/.. ${CMAKE_BINARY_DIR}

backends/cadence/vision/operators/TARGETS

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)