.. _oneapi-mkl-rng-r250: oneapi::mkl::rng::r250 ====================== .. contents:: :local: :depth: 1 Description *********** The 32-bit generalized feedback shift register pseudorandom number generator GFSR(250,103) :ref:`[Kirkpatrick81] `. API *** Syntax ------ .. code-block:: cpp class r250 { public: static constexpr std::uint32_t default_seed = 1; r250(sycl::queue queue, std::uint32_t seed = default_seed); r250(sycl::queue queue, std::vector seed); r250(const r250& other); r250(r250&& other); r250& operator=(const r250& other); r250& operator=(r250&& other); ~r250(); }; Devices supported: Host and CPU. Include Files ------------- - ``oneapi/mkl/rng.hpp`` Input Parameters ---------------- .. list-table:: :header-rows: 1 * - Name - Type - Description * - queue - ``sycl::queue`` - Valid ``sycl::queue``, calls of ``oneapi::mkl::rng::generate()`` routine submit kernels in this queue. * - seed - ``std::uint32_t`` ``std::initializer_list`` - Initial conditions of the engine. See :ref:`VS Notes ` for the detailed descriptions.