.. _descriptor-precision-domain-commit: descriptor::commit ===================================== Performs all initialization for the actual FFT computation. This routine belongs to the ``oneapi::mkl::dft`` namespace. .. contents:: :local: :depth: 1 Description *********** This function completes initialization of a previously created descriptor, which is required before the descriptor can be used for FFT computations. It throws an ``std::runtime_exception()`` in the case that it fails. The ``cl::sycl::queue`` may be associated with a host, CPU, or GPU device. Typically, committing the descriptor performs all initialization that is required for the actual FFT computation on the given device. The initialization done by the function may involve exploring different factorizations of the input length to find the optimal computation method. .. note:: Calls to the ``descriptor::set_value`` function to change configuration parameters of a descriptor need to happen before ``descriptor::commit``. Typically, a committal function call is immediately followed by a computation function call (see :ref:`FFT Compute Functions `). API *** Syntax ------ .. code-block:: cpp namespace oneapi::mkl::dft{ void descriptor::commit(cl::sycl::queue &in) } Include Files ------------- - ``oneapi/mkl/dfti.hpp`` Input Parameters ---------------- .. list-table:: :header-rows: 1 * - Name - Type - Description * - deviceQueue - ``cl::sycl::queue`` - Sycl queue for a host, CPU, or GPU device.