| 817 | using Arg1Value = typename GetViewType<Arg1Type>::T; |
| 818 | |
| 819 | static Status ArrayArray(KernelContext* ctx, const ArraySpan& arg0, |
| 820 | const ArraySpan& arg1, ExecResult* out) { |
| 821 | Status st = Status::OK(); |
| 822 | ArrayIterator<Arg0Type> arg0_it(arg0); |
| 823 | ArrayIterator<Arg1Type> arg1_it(arg1); |
| 824 | RETURN_NOT_OK( |
| 825 | OutputAdapter<OutType>::Write(ctx, out->array_span_mutable(), [&]() -> OutValue { |
| 826 | return Op::template Call<OutValue, Arg0Value, Arg1Value>(ctx, arg0_it(), |
| 827 | arg1_it(), &st); |
| 828 | })); |
| 829 | return st; |
| 830 | } |
| 831 | |
| 832 | static Status ArrayScalar(KernelContext* ctx, const ArraySpan& arg0, const Scalar& arg1, |
| 833 | ExecResult* out) { |