-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rocRAND documentation restructure (#421)
- Loading branch information
Showing
13 changed files
with
176 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.. meta:: | ||
:description: rocRAND documentation and API reference library | ||
:keywords: rocRAND, ROCm, API, documentation | ||
|
||
.. _api-reference-home: | ||
|
||
=================== | ||
rocRAND API reference | ||
=================== | ||
|
||
rocRAND APIs are available in the following programming languages: | ||
|
||
* :ref:`C/C++<cpp-api>` | ||
* :ref:`Python<python-api>` | ||
|
||
Here is the :ref:`genindex` for all rocRAND APIs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
.. meta:: | ||
:description: rocRAND documentation and API reference library | ||
:keywords: rocRAND, ROCm, API, documentation | ||
|
||
.. _cpp-api: | ||
|
||
=================== | ||
C/C++ API Reference | ||
C/C++ API reference | ||
=================== | ||
|
||
This chapter describes the rocRAND C and C++ API. | ||
|
||
Device Functions | ||
Device functions | ||
================ | ||
.. doxygengroup:: rocranddevice | ||
|
||
C Host API | ||
C host API | ||
========== | ||
.. doxygengroup:: rocrandhost | ||
|
||
C++ Host API Wrapper | ||
C++ host API wrapper | ||
==================== | ||
.. doxygengroup:: rocrandhostcpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.. meta:: | ||
:description: rocRAND documentation and API reference library | ||
:keywords: rocRAND, ROCm, API, documentation, cuRAND | ||
|
||
.. _curand-compatibility: | ||
|
||
==================== | ||
cuRAND compatibility | ||
==================== | ||
|
||
The following table shows which rocRAND generators produce the exact same sequence as the equivalent cuRAND generator when using legacy ordering, given the same seed, number of dimensions, and offset. | ||
|
||
.. table:: cuRAND Compatibility | ||
:widths: auto | ||
|
||
================= ===================== | ||
Generator Compatible | ||
================= ===================== | ||
XORWOW No | ||
MRG32K3A No | ||
MTGP32 No | ||
Philox 32x4-10 No | ||
MT19937 No | ||
Sobol32 Yes | ||
Scrambled Sobol32 No | ||
Sobol64 Yes, with same offset | ||
Scrambled Sobol64 No | ||
================= ===================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,37 @@ | ||
================== | ||
rocRAND User Guide | ||
================== | ||
.. meta:: | ||
:description: rocRAND documentation and API reference library | ||
:keywords: rocRAND, ROCm, API, documentation | ||
|
||
Overview | ||
======== | ||
.. _rocrand-docs-home: | ||
|
||
The rocRAND project provides functions that generate pseudo-random and quasi-random numbers. | ||
******************************************************************** | ||
rocRAND documentation | ||
******************************************************************** | ||
|
||
The rocRAND library is implemented in the `HIP <https://github.com/ROCm-Developer-Tools/HIP>`_ | ||
programming language and optimised for AMD's latest discrete GPUs. It is designed to run on top | ||
of AMD's Radeon Open Compute `ROCm <https://rocm.github.io/>`_ runtime, but it also works on | ||
CUDA enabled GPUs. | ||
Additionally, the project includes a wrapper library called hipRAND which allows users to easily port | ||
CUDA applications that use cuRAND library to the `HIP <https://github.com/ROCm-Developer-Tools/HIP>`_ | ||
layer. In `ROCm <https://rocm.github.io/>`_ environment hipRAND uses rocRAND, however in CUDA | ||
environment cuRAND is used instead. | ||
Welcome to the rocRAND docs home page! To learn more, see :ref:`what-is-rocrand` | ||
|
||
Indices and tables | ||
------------------ | ||
Our documentation is structured as follows: | ||
|
||
* :ref:`genindex` | ||
* :ref:`search` | ||
.. grid:: 2 | ||
:gutter: 3 | ||
|
||
.. grid-item-card:: API reference | ||
|
||
* :ref:`cpp-api` | ||
* :ref:`python-api` | ||
* :ref:`curand-compatibility` | ||
* :doc:`API library <doxygen/html/index>` | ||
|
||
.. grid-item-card:: Conceptual | ||
|
||
* :ref:`programmers-guide` | ||
|
||
.. grid-item-card:: Tutorial | ||
|
||
* :ref:`installing` | ||
|
||
Contributing to this documentation | ||
======================================================= | ||
|
||
We welcome collaboration! If you'd like to contribute to our documentation, you can find instructions on our `Contribute to ROCm docs <https://rocm.docs.amd.com/en/latest/contribute/index.html>`_ page. Known issues are listed on `GitHub <https://github.com/RadeonOpenCompute/ROCm/labels/Verified%20Issue>`_. | ||
Licensing information for all ROCm components is listed on our `Licensing <https://rocm.docs.amd.com/en/latest/about/license.html>`_ page. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.