Skip to content

Commit

Permalink
Merge pull request #501 from SwRaw/SR_rocRAND
Browse files Browse the repository at this point in the history
organizing docs into subfolders
  • Loading branch information
SwRaw authored Jun 5, 2024
2 parents a1a36a8 + 9af7828 commit 7691501
Show file tree
Hide file tree
Showing 11 changed files with 56 additions and 65 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017-2022 Advanced Micro Devices, Inc. All rights reserved.
Copyright (c) 2017-2024 Advanced Micro Devices, Inc. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
16 changes: 0 additions & 16 deletions docs/api-reference-home.rst

This file was deleted.

5 changes: 5 additions & 0 deletions docs/cpp-api.rst → docs/api-reference/cpp-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ C/C++ API reference

This chapter describes the rocRAND C and C++ API.

API index
===========

To search an API, refer to the API :ref:`genindex`.

Device functions
================
.. doxygengroup:: rocranddevice
Expand Down
7 changes: 7 additions & 0 deletions docs/python-api.rst → docs/api-reference/python-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ Python API reference

This chapter describes the rocRAND Python module API.

API index
------------

To search an API, refer to the API :ref:`genindex`.

.. default-domain:: py
.. py:currentmodule:: rocrand
Expand Down Expand Up @@ -45,3 +50,5 @@ Utilities
.. autofunction:: rocrand.empty

.. autofunction:: rocrand.get_version

To search an API, refer to the :ref:`genindex` for all rocRAND APIs.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
.. meta::
:description: rocRAND documentation and API reference library
:keywords: rocRAND, ROCm, API, documentation

.. _dynamic-ordering-configuration:

=============================================================
Generating optimal kernel configurations for dynamic ordering
Kernel configurations for dynamic ordering
=============================================================

Overview
Expand Down
File renamed without changes.
37 changes: 23 additions & 14 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,39 @@
rocRAND documentation
********************************************************************

Welcome to the rocRAND docs home page! To learn more, see :ref:`what-is-rocrand`
rocRAND provides functions that generate pseudo-random and quasi-random numbers. The rocRAND library is implemented in the `HIP <https://rocm.docs.amd.com/projects/HIP/en/latest/index.html>`_
programming language and optimized for AMD's latest discrete GPUs. It is designed to run on top
of AMD's `ROCm <https://rocm.docs.amd.com/en/latest/>`_, but it also works on CUDA-enabled GPUs.

Our documentation is structured as follows:
rocRAND includes a wrapper library called hipRAND, which you can use to easily port
CUDA applications using the cuRAND library to the
`HIP <https://rocm.docs.amd.com/projects/HIP/en/latest/index.html>`_ layer. In the
`ROCm <https://rocm.docs.amd.com/en/latest/>`_ environment, hipRAND uses rocRAND.

You can access rocRAND code on our `GitHub repository <https://github.com/ROCm/rocRAND>`_.

The documentation is structured as follows:

.. grid:: 2
:gutter: 3

.. grid-item-card:: API reference
.. grid-item-card:: Install

* :ref:`cpp-api`
* :ref:`python-api`
* :ref:`curand-compatibility`
* :doc:`API library <doxygen/html/index>`
* :ref:`installing`

.. grid-item-card:: Conceptual

* :ref:`programmers-guide`
* :ref:`programmers-guide`
* :ref:`curand-compatibility`
* :ref:`dynamic-ordering-configuration`

.. grid-item-card:: Tutorial
.. grid-item-card:: API reference

* :ref:`installing`
* :ref:`cpp-api`
* :ref:`python-api`
* :doc:`API library <doxygen/html/index>`

Contributing to this documentation
=======================================================
To contribute to the documentation, refer to
`Contributing to ROCm <https://rocm.docs.amd.com/en/latest/contribute/contributing.html>`_.

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.
You can find licensing information on the `Licensing <https://rocm.docs.amd.com/en/latest/about/license.html>`_ page.
File renamed without changes.
26 changes: 13 additions & 13 deletions docs/sphinx/_toc.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
# These comments will also be removed.
root: index
subtrees:
- entries:
- file: what-is-rocrand
- file: installing
- file: programmers-guide
- file: dynamic_ordering_configuration
- file: api-reference-home
title: API reference
subtrees:
- entries:
- file: cpp-api
- file: python-api
- file: curand-compatibility
- file: doxygen/html/index
- caption: Install
entries:
- file: install/installing
- caption: Conceptual
entries:
- file: conceptual/programmers-guide
- file: conceptual/curand-compatibility
- file: conceptual/dynamic_ordering_configuration
- caption: API reference
entries:
- file: api-reference/cpp-api
- file: api-reference/python-api
- file: doxygen/html/index
- caption: About
entries:
- file: license
20 changes: 0 additions & 20 deletions docs/what-is-rocrand.rst

This file was deleted.

0 comments on commit 7691501

Please sign in to comment.