diff --git a/cpp/src/arrow/compute/kernel.h b/cpp/src/arrow/compute/kernel.h index bf6a54682511..5356f1cdc2d8 100644 --- a/cpp/src/arrow/compute/kernel.h +++ b/cpp/src/arrow/compute/kernel.h @@ -162,6 +162,8 @@ class ARROW_EXPORT UnaryKernel : public OpKernel { public: /// \brief Executes the kernel. /// + /// \param[in,out] ctx The FunctionContext to use in th kernel. + /// \param[in] input The input to process. /// \param[out] out The output of the function. Each implementation of this /// function might assume different things about the existing contents of out /// (e.g. which buffers are preallocated). In the future it is expected that diff --git a/cpp/src/arrow/compute/kernels/util-internal.h b/cpp/src/arrow/compute/kernels/util-internal.h index 2dd8c0288a7e..22520235a524 100644 --- a/cpp/src/arrow/compute/kernels/util-internal.h +++ b/cpp/src/arrow/compute/kernels/util-internal.h @@ -46,6 +46,9 @@ namespace detail { /// \brief Invoke the kernel on value using the ctx and store results in outputs. /// +/// \param[in,out] ctx The function context to use when invoking the kernel. +/// \param[in,out] kernel The kernel to execute. +/// \param[in] value The input value to execute the kernel with. /// \param[out] outputs One ArrayData datum for each ArrayData available in value. ARROW_EXPORT Status InvokeUnaryArrayKernel(FunctionContext* ctx, UnaryKernel* kernel,