From f1c7ece03e71f859a3934af4fe5caf41f4349edd Mon Sep 17 00:00:00 2001 From: Zonglin Peng Date: Fri, 10 Jan 2025 17:10:07 -0800 Subject: [PATCH] link M2 g3 operator kernels to jarvis and BUCK dep (#7529) Summary: - Apply buck fix to Cadence's diff. - resolved duplicate work internally - fixed naming of mean link to jarvis - sub (fp32, int32), - div (fp32, int32), - exp (fp32), - permute (8-bit, 16-bit and 32-bit width) - slice (8-bit, 16-bit and 32-bit width). - mean (fp32) Reviewed By: hsharma35 Differential Revision: D67875050 --- backends/cadence/fusion_g3/operators/op_mean.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/cadence/fusion_g3/operators/op_mean.cpp b/backends/cadence/fusion_g3/operators/op_mean.cpp index be866b2f51c..289baceb122 100644 --- a/backends/cadence/fusion_g3/operators/op_mean.cpp +++ b/backends/cadence/fusion_g3/operators/op_mean.cpp @@ -59,7 +59,7 @@ int prepare_data( return num_axis_dims; } -Tensor& mean_dim_out( +Tensor& mean_out( KernelRuntimeContext& ctx, const Tensor& in, optional> dim_list, @@ -199,4 +199,4 @@ Tensor& mean_dim_out( } // namespace native } // namespace G3 } // namespace impl -} // namespace cadence \ No newline at end of file +} // namespace cadence