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

Local spellcheck.yml #3567

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
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 .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ updates:
- "documentation"
- "dependencies"
- "ci:docs-only"
target-branch: "docs/develop"
reviewers:
- "samjwu"
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ on:
jobs:
call-workflow-passing-data:
name: Documentation
uses: ROCm/rocm-docs-core/.github/workflows/linting.yml@develop
uses: ROCm/rocm-docs-core/.github/workflows/linting.yml@local_spellcheck_file
14 changes: 6 additions & 8 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: 2
sphinx:
configuration: docs/conf.py

formats: [htmlzip, pdf, epub]
formats: []

python:
install:
Expand All @@ -18,16 +18,14 @@ build:
python: "3.10"
apt_packages:
- "doxygen"
- "gfortran" # For pre-processing fortran sources
- "graphviz" # For dot graphs in doxygen
jobs:
post_checkout:
- if [ -d ../llvm-project ]; then rmdir ../llvm-project; fi
- if [ -d ../clr ]; then rmdir ../clr; fi
- if [ -d ../ROCR-Runtime ]; then rmdir ../ROCR-Runtime; fi
- git clone --depth=1 --single-branch --branch rocdoc-195 https://github.com/StreamHPC/llvm-project.git ../llvm-project
- git clone --depth=1 --single-branch --branch develop https://github.com/ROCm/clr.git ../clr
- git clone --depth=1 --single-branch --branch master https://github.com/ROCm/ROCR-Runtime.git ../ROCR-Runtime
- if [ -d ../clr ]; then rm -rf ../clr; fi
- if [ -d ../ROCR-Runtime ]; then rm -rf ../ROCR-Runtime; fi
- git clone --depth=1 --single-branch --branch docs/develop https://github.com/ROCm/clr.git ../clr
- git clone --depth=1 --single-branch --branch master https://github.com/ROCm/ROCR-Runtime.git ../ROCR-Runtime
post_build:
- rm -rf ../clr
- rm -rf ../llvm-project
- rm -rf ../ROCR-Runtime
4 changes: 4 additions & 0 deletions .spellcheck_local.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
matrix:
- name: Markdown
sources:
- 'docs/**/*.md'
26 changes: 25 additions & 1 deletion .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ALUs
AmgX
APU
AQL
AXPY
Asynchrony
backtrace
Bitcode
Expand All @@ -12,24 +13,32 @@ builtins
Builtins
CAS
clr
coroutines
cuBLASLt
cuCtx
cuDNN
dataflow
deallocate
decompositions
denormal
Dereferencing
dll
DirectX
EIGEN
EIGEN's
enqueue
enqueues
entrypoint
entrypoints
enum
embeded
extern
fatbinary
foundationally
frontends
gedit
GPGPU
GWS
hardcoded
HC
HIP's
Expand All @@ -40,12 +49,15 @@ hipother
HIPRTC
hcBLAS
icc
IILE
iGPU
inplace
Interoperation
interoperate
Intrinsics
intrinsics
IPC
IPs
isa
Lapack
latencies
Expand All @@ -65,28 +77,40 @@ multithreading
NCCL
NDRange
nonnegative
NOP
Numa
Nsight
overindex
overindexing
oversubscription
pragmas
preconditioners
prefetched
preprocessor
PTX
PyHIP
queryable
prefetching
representable
RMW
ROCm's
rocTX
RTC
RTTI
rvalue
SAXPY
scalarizing
sceneries
shaders
SIMT
SPMV
structs
SYCL
syntaxes
tradeoffs
templated
typedefs
UMM
variadic
WinGDB
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ HIP releases are typically naming convention for each ROCM release to help diffe

* [Installation](docs/install/install.rst)
* [HIP FAQ](docs/how-to/faq.md)
* [HIP Kernel Language](docs/reference/kernel_language.rst)
* [HIP C++ Language Extensions](docs/reference/cpp_language_extensions.rst)
* [HIP Porting Guide](docs/how-to/hip_porting_guide.md)
* [HIP Porting Driver Guide](docs/how-to/hip_porting_driver_api.md)
* [HIP Programming Guide](docs/how-to/programming_manual.md)
Expand Down Expand Up @@ -88,7 +88,7 @@ hipMemcpy(C_h, C_d, Nbytes, hipMemcpyDeviceToHost);

The HIP kernel language defines builtins for determining grid and block coordinates, math functions, short vectors,
atomics, and timer functions.
It also specifies additional defines and keywords for function types, address spaces, and optimization controls (See the [HIP Kernel Language](docs/reference/kernel_language.rst) for a full description).
It also specifies additional defines and keywords for function types, address spaces, and optimization controls (See the [HIP C++ Language Extensions](docs/reference/cpp_language_extensions.rst) for a full description).
Here's an example of defining a simple 'vector_square' kernel.

```cpp
Expand Down
10 changes: 9 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,12 @@
cpp_id_attributes = ["__global__", "__device__", "__host__", "__forceinline__", "static"]
cpp_paren_attributes = ["__declspec"]

suppress_warnings = ["etoc.toctree"]
suppress_warnings = ["etoc.toctree"]

numfig = False


exclude_patterns = [
"doxygen/mainpage.md",
"understand/glossary.md"
]
Loading
Loading