Skip to content

Commit f1f0bb3

Browse files
committed
Fixing review comments on PR 6867
1 parent 10a0ee0 commit f1f0bb3

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

backends/cadence/aot/functions_hifi.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
- op: maximum.out
8181
kernels:
8282
- arg_meta: null
83-
kernel_name: impl::HiFi::maximum_out
83+
kernel_name: cadence::impl::HiFi::maximum_out
8484

8585
- op: mean.out
8686
kernels:
@@ -90,7 +90,7 @@
9090
- op: minimum.out
9191
kernels:
9292
- arg_meta: null
93-
kernel_name: cadence::impl::HiFi::mean_dim_out
93+
kernel_name: cadence::impl::HiFi::minimum_out
9494

9595
- op: mul.out
9696
kernels:
@@ -105,22 +105,22 @@
105105
- op: pow.Scalar_out
106106
kernels:
107107
- arg_meta: null
108-
kernel_name: impl::HiFi::pow_Scalar_out
108+
kernel_name: cadence::impl::HiFi::pow_Scalar_out
109109

110110
- op: pow.Tensor_Scalar_out
111111
kernels:
112112
- arg_meta: null
113-
kernel_name: impl::HiFi::pow_Tensor_Scalar_out
113+
kernel_name: cadence::impl::HiFi::pow_Tensor_Scalar_out
114114

115115
- op: pow.Tensor_Tensor_out
116116
kernels:
117117
- arg_meta: null
118-
kernel_name: impl::HiFi::pow_Tensor_Tensor_out
118+
kernel_name: cadence::impl::HiFi::pow_Tensor_Tensor_out
119119

120120
- op: rsqrt.out
121121
kernels:
122122
- arg_meta: null
123-
kernel_name: impl::HiFi::rsqrt_out
123+
kernel_name: cadence::impl::HiFi::rsqrt_out
124124

125125
- op: sigmoid.out
126126
kernels:

backends/cadence/hifi/operators/op_maximum.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ using torch::executor::apply_binary_elementwise_fn;
2323
using torch::executor::Error;
2424
using torch::executor::resize_to_broadcast_target_size;
2525

26+
27+
namespace cadence {
2628
namespace impl {
2729
namespace HiFi {
2830
namespace native {
@@ -170,3 +172,4 @@ Tensor& maximum_out(
170172
} // namespace native
171173
} // namespace HiFi
172174
} // namespace impl
175+
} // namespace cadence

backends/cadence/hifi/operators/op_minimum.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ using torch::executor::apply_binary_elementwise_fn;
2323
using torch::executor::Error;
2424
using torch::executor::resize_to_broadcast_target_size;
2525

26+
namespace cadence {
2627
namespace impl {
2728
namespace HiFi {
2829
namespace native {
@@ -169,3 +170,4 @@ Tensor& minimum_out(
169170
} // namespace native
170171
} // namespace HiFi
171172
} // namespace impl
173+
} // namespace cadence

backends/cadence/hifi/operators/op_pow.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ using executorch::runtime::promoteTypes;
2626
using torch::executor::Error;
2727
using torch::executor::resize_to_broadcast_target_size;
2828

29+
namespace cadence {
2930
namespace impl {
3031
namespace HiFi {
3132
namespace native {
@@ -349,3 +350,5 @@ Tensor& pow_Scalar_out(
349350
} // namespace native
350351
} // namespace HiFi
351352
} // namespace impl
353+
} // namespace cadence
354+

backends/cadence/hifi/operators/op_rsqrt.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ using exec_aten::ScalarType;
1515
using exec_aten::Tensor;
1616
using executorch::aten::RuntimeContext;
1717

18+
namespace cadence {
1819
namespace impl {
1920
namespace HiFi {
2021
namespace native {
@@ -51,3 +52,4 @@ Tensor& rsqrt_out(RuntimeContext& ctx, const Tensor& in, Tensor& out) {
5152
} // namespace native
5253
} // namespace HiFi
5354
} // namespace impl
55+
} // namespace cadence

0 commit comments

Comments
 (0)