Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Consolidate Environment Variables #3730

Open
wants to merge 22 commits into
base: docs/develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
c728837
Add note to README to point to HIP documentation.
randyh62 Dec 12, 2024
b23729b
Bump rocm-docs-core[api_reference] from 1.10.0 to 1.11.0 in /docs/sphinx
dependabot[bot] Dec 6, 2024
5a4701d
Minor fix in unified memory page
neon60 Dec 6, 2024
09f19e9
Docs: Update device memory pages
MKKnorr Nov 28, 2024
1b78fce
Minor fixes
neon60 Dec 15, 2024
4d22353
Documentation build error fix
neon60 Dec 19, 2024
e866e33
Bump rocm-docs-core[api_reference] from 1.11.0 to 1.12.0 in /docs/sphinx
dependabot[bot] Dec 24, 2024
5491732
Bump rocm-docs-core[api_reference] from 1.12.0 to 1.12.1 in /docs/sphinx
dependabot[bot] Jan 3, 2025
11bf65b
Bump rocm-docs-core[api_reference] from 1.12.1 to 1.13.0 in /docs/sphinx
dependabot[bot] Jan 7, 2025
d9b579f
Docs: Refactor cpp_language_extensions and cpp_language_support
MKKnorr Nov 21, 2024
831a3bb
Docs: Fix device memory refs
MKKnorr Jan 8, 2025
4766df1
Docs: Update example references
MKKnorr Jan 9, 2025
1a24ff8
Add asynchronous execution documentation page
neon60 Jan 14, 2025
4466951
Update terms.md
randyh62 Jan 15, 2025
928d3ac
Update hip_porting_guide.md
randyh62 Jan 15, 2025
c3c6fef
Update debugging_env.rst
randyh62 Jan 15, 2025
488838f
Update hip_rtc.md
randyh62 Jan 15, 2025
4179367
Bump rocm-docs-core[api_reference] from 1.13.0 to 1.14.1 in /docs/sphinx
dependabot[bot] Jan 22, 2025
85ba2a1
Docs: Add local spellcheck file for spellcheck workflow
adeljo-amd Jan 20, 2025
e116fc7
Bump rocm-docs-core[api_reference] from 1.14.1 to 1.15.0 in /docs/sphinx
dependabot[bot] Jan 30, 2025
d279278
Add virtual aliases support section
neon60 Jan 31, 2025
7a40d21
Docs: Consolidate environment variables into a single RST file, use a…
adeljo-amd Jan 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.*
!.gitignore
!.spellcheck.local.yaml
*.o
*.exe
*.swp
Expand Down
10 changes: 10 additions & 0 deletions .spellcheck.local.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
matrix:
- name: Markdown
sources:
- ['!docs/doxygen/mainpage.md']
- name: reST
sources:
- []
- name: Cpp
sources:
- ['include/hip/*']
14 changes: 13 additions & 1 deletion .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,19 @@ APUs
AQL
AXPY
asm
Asynchrony
asynchrony
backtrace
Bitcode
bitcode
bitcodes
blockDim
blockIdx
builtins
Builtins
CAS
clr
compilable
constexpr
coroutines
Ctx
cuBLASLt
Expand Down Expand Up @@ -51,6 +54,7 @@ FNUZ
fp
gedit
GPGPU
gridDim
GROMACS
GWS
hardcoded
Expand Down Expand Up @@ -87,6 +91,7 @@ iteratively
Lapack
latencies
libc
libhipcxx
libstdc
lifecycle
linearizing
Expand All @@ -97,6 +102,7 @@ makefile
Malloc
malloc
MALU
maxregcount
MiB
memset
multicore
Expand All @@ -118,13 +124,15 @@ overindexing
oversubscription
overutilized
parallelizable
parallelized
pixelated
pragmas
preallocated
preconditioners
predefining
prefetched
preprocessor
printf
profilers
PTX
PyHIP
Expand All @@ -137,6 +145,7 @@ rocgdb
ROCm's
rocTX
roundtrip
rst
RTC
RTTI
rvalue
Expand All @@ -149,10 +158,12 @@ sinewave
SOMA
SPMV
structs
struct's
SYCL
syntaxes
texel
texels
threadIdx
tradeoffs
templated
toolkits
Expand All @@ -167,5 +178,6 @@ unregister
upscaled
variadic
vulkan
warpSize
WinGDB
zc
17 changes: 5 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Key features include:

New projects can be developed directly in the portable HIP C++ language and can run on either NVIDIA or AMD platforms. Additionally, HIP provides porting tools which make it easy to port existing CUDA codes to the HIP layer, with no loss of performance as compared to the original CUDA application. HIP is not intended to be a drop-in replacement for CUDA, and developers should expect to do some manual coding and performance tuning work to complete the port.

> [!NOTE]
> The published documentation is available at [HIP documentation](https://rocm.docs.amd.com/projects/HIP/en/latest/index.html) in an organized, easy-to-read format, with search and a table of contents. The documentation source files reside in the `HIP/docs` folder of this GitHub repository. As with all ROCm projects, the documentation is open source. For more information on contributing to the documentation, see [Contribute to ROCm documentation](https://rocm.docs.amd.com/en/latest/contribute/contributing.html).

## DISCLAIMER

The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions, and typographical errors. The information contained herein is subject to change and may be rendered inaccurate for many reasons, including but not limited to product and roadmap changes, component and motherboard versionchanges, new model and/or product releases, product differences between differing manufacturers, software changes, BIOS flashes, firmware upgrades, or the like. Any computer system has risks of security vulnerabilities that cannot be completely prevented or mitigated.AMD assumes no obligation to update or otherwise correct or revise this information. However, AMD reserves the right to revise this information and to make changes from time to time to the content hereof without obligation of AMD to notify any person of such revisions or changes.THIS INFORMATION IS PROVIDED ‘AS IS.” AMD MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE CONTENTS HEREOF AND ASSUMES NO RESPONSIBILITY FOR ANY INACCURACIES, ERRORS, OR OMISSIONS THAT MAY APPEAR IN THIS INFORMATION. AMD SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR ANY PARTICULAR PURPOSE. IN NO EVENT WILL AMD BE LIABLE TO ANY PERSON FOR ANY RELIANCE, DIRECT, INDIRECT, SPECIAL, OR OTHER CONSEQUENTIAL DAMAGES ARISING FROM THE USE OF ANY INFORMATION CONTAINED HEREIN, EVEN IF AMD IS EXPRESSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. AMD, the AMD Arrow logo, and combinations thereof are trademarks of Advanced Micro Devices, Inc. Other product names used in this publication are for identification purposes only and may be trademarks of their respective companies.
Expand Down Expand Up @@ -124,19 +127,9 @@ provides source portability to either platform. HIP provides the _hipcc_ compi

## Examples and Getting Started

* A sample and [blog](https://github.com/ROCm/hip-tests/tree/develop/samples/0_Intro/square) that uses any of [HIPIFY](https://github.com/ROCm/HIPIFY/blob/amd-staging/README.md) tools to convert a simple app from CUDA to HIP:

```shell
cd samples/01_Intro/square
# follow README / blog steps to hipify the application.
```

* Guide to [Porting a New Cuda Project](https://rocm.docs.amd.com/projects/HIP/en/latest/how-to/hip_porting_guide.html#porting-a-new-cuda-project)

## More Examples
* The [ROCm-examples](https://github.com/ROCm/rocm-examples) repository includes many examples with explanations that help users getting started with HIP, as well as providing advanced examples for HIP and its libraries.

The GitHub repository [HIP-Examples](https://github.com/ROCm/HIP-Examples) contains a hipified version of benchmark suite.
Besides, there are more samples in Github [HIP samples](https://github.com/ROCm/hip-tests/tree/develop/samples), showing how to program with different features, build and run.
* HIP's documentation includes a guide for [Porting a New Cuda Project](https://rocm.docs.amd.com/projects/HIP/en/latest/how-to/hip_porting_guide.html#porting-a-new-cuda-project).

## Tour of the HIP Directories

Expand Down
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
/doxygen/html
/doxygen/xml
/sphinx/_toc.yml
__pycache__
10 changes: 8 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html

import re
import sys
from pathlib import Path
from typing import Any, Dict, List

from rocm_docs import ROCmDocs
Expand Down Expand Up @@ -38,7 +40,10 @@
for sphinx_var in ROCmDocs.SPHINX_VARS:
globals()[sphinx_var] = getattr(docs_core, sphinx_var)

extensions += ["sphinxcontrib.doxylink"]
# Add the _extensions directory to Python's search path
sys.path.append(str(Path(__file__).parent / 'extension'))

extensions += ["sphinxcontrib.doxylink", "custom_directive"]

cpp_id_attributes = ["__global__", "__device__", "__host__", "__forceinline__", "static"]
cpp_paren_attributes = ["__declspec"]
Expand All @@ -50,5 +55,6 @@
exclude_patterns = [
"doxygen/mainpage.md",
"understand/glossary.md",
'how-to/debugging_env.rst'
'how-to/debugging_env.rst',
"data/env_variables_hip.rst"
]
Loading