Skip to content

Commit e9e4673

Browse files
authored
[oneMKL][RNG] Add integer 64-bit support for uniform distribution (#568)
1 parent 50c99c2 commit e9e4673

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

source/elements/oneMKL/source/domains/rng/device_api/device-rng-uniform-discrete.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ Generates random numbers uniformly distributed over the interval ``[a, b)``.
1212

1313
.. rubric:: Description
1414

15-
The ``uniform`` class object is used in ``generate`` and function
16-
to provide random numbers uniformly distributed over the interval ``[a, b)``, where ``a, b`` are the left and right
15+
The ``uniform`` class object is used in ``generate`` and function
16+
to provide random numbers uniformly distributed over the interval ``[a, b)``,
17+
where ``a, b`` are the left and right
1718
bounds of the interval respectively, and :math:`a, b \in Z ; a < b`.
1819

1920

@@ -53,7 +54,7 @@ class uniform
5354
5455
uniform();
5556
explicit uniform(Type a, Type b);
56-
57+
5758
Type a() const;
5859
Type b() const;
5960
};
@@ -71,6 +72,8 @@ class uniform
7172

7273
* ``std::int32_t``
7374
* ``std::uint32_t``
75+
* ``std::int64_t``
76+
* ``std::uint64_t``
7477

7578
.. container:: section
7679

@@ -174,4 +177,4 @@ class uniform
174177

175178
Returns the distribution parameter `b` - right bound.
176179

177-
**Parent topic:** :ref:`onemkl_device_rng_distributions`
180+
**Parent topic:** :ref:`onemkl_device_rng_distributions`

0 commit comments

Comments
 (0)