.. _oneapi-mkl-stats-min: oneapi::mkl::stats::min ======================= .. contents:: :local: :depth: 1 Description *********** Entry point to compute the array of minimum values. API *** Syntax ------ **Buffer API** .. code-block:: template void min( sycl::queue& queue, const dataset>& data, sycl::buffer min); **USM API** .. code-block:: template sycl::event min( sycl::queue& queue, const dataset& data, Type* min, const std::vector &dependencies = {}); Include Files ------------- - oneapi/mkl/stats.hpp Template Parameters ------------------- .. list-table:: :header-rows: 1 * - Name - Description * - \ ``oneapi::mkl::stats::method Method = oneapi::mkl::stats::method::fast``\ - Computation method. The specific values are as follows: \ ``oneapi::mkl::stats::method::fast``\ Input Parameters ---------------- .. tabularcolumns:: |\Y{0.2}|\Y{0.4}|\Y{0.4}| .. list-table:: :header-rows: 1 * - Name - Type - Description * - queue - \ ``sycl::queue&``\ - Valid ``sycl::queue``, calls of the ``oneapi::mkl::stats::min()`` routine submits kernels in this queue. * - data - \ ``const dataset&``\ - Dataset which is used for estimates computation. **Optional Input Parameter for USM API** .. list-table:: :header-rows: 1 * - Name - Type - Description * - dependencies - \ ``const std::vector&``\ - List of events to wait for before starting computation, if any. Output Parameters ----------------- **Buffer API** .. list-table:: :header-rows: 1 * - Name - Type - Description * - min - \ ``sycl::buffer``\ - \ ``sycl::buffer`` to the output array of minimum values. **USM API** .. list-table:: :header-rows: 1 * - Name - Type - Description * - min - \ ``Type*``\ - Pointer to the output array of minimum values. * - event - \ ``sycl::event``\ - Function returns event after submitting task in ``sycl::queue``.