Skip to content

Commit 761dd78

Browse files
committed
Fix a few doc typos, to cycle bots.
1 parent 0a57034 commit 761dd78

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

llvm/docs/AMDGPUUsage.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2134,23 +2134,23 @@ supported except by flat and scratch instructions in GFX9-GFX10.
21342134

21352135
The generic address space uses the hardware flat address support available in
21362136
GFX7-GFX10. This uses two fixed ranges of virtual addresses (the private and
2137-
local appertures), that are outside the range of addressible global memory, to
2137+
local apertures), that are outside the range of addressible global memory, to
21382138
map from a flat address to a private or local address.
21392139

21402140
FLAT instructions can take a flat address and access global, private (scratch)
21412141
and group (LDS) memory depending in if the address is within one of the
2142-
apperture ranges. Flat access to scratch requires hardware aperture setup and
2142+
aperture ranges. Flat access to scratch requires hardware aperture setup and
21432143
setup in the kernel prologue (see :ref:`amdgpu-amdhsa-flat-scratch`). Flat
21442144
access to LDS requires hardware aperture setup and M0 (GFX7-GFX8) register setup
21452145
(see :ref:`amdgpu-amdhsa-m0`).
21462146

21472147
To convert between a segment address and a flat address the base address of the
2148-
appertures address can be used. For GFX7-GFX8 these are available in the
2148+
apertures address can be used. For GFX7-GFX8 these are available in the
21492149
:ref:`amdgpu-amdhsa-hsa-aql-queue` the address of which can be obtained with
21502150
Queue Ptr SGPR (see :ref:`amdgpu-amdhsa-initial-kernel-execution-state`). For
2151-
GFX9-GFX10 the appature base addresses are directly available as inline constant
2151+
GFX9-GFX10 the aperture base addresses are directly available as inline constant
21522152
registers ``SRC_SHARED_BASE/LIMIT`` and ``SRC_PRIVATE_BASE/LIMIT``. In 64 bit
2153-
address mode the apperture sizes are 2^32 bytes and the base is aligned to 2^32
2153+
address mode the aperture sizes are 2^32 bytes and the base is aligned to 2^32
21542154
which makes it easier to convert from flat to segment or segment to flat.
21552155

21562156
Image and Samplers
@@ -2884,7 +2884,7 @@ SGPR register initial state is defined in
28842884
FLAT SCRATCH BASE in flat
28852885
memory instructions that
28862886
access the scratch
2887-
apperture.
2887+
aperture.
28882888

28892889
The second SGPR is 32 bit
28902890
byte size of a single

0 commit comments

Comments
 (0)