Skip to content

Commit bc0c232

Browse files
[llvm] Proofread AMDGPUUsage.rst (#163331)
1 parent 358513f commit bc0c232

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

llvm/docs/AMDGPUUsage.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4172,7 +4172,7 @@ non-AMD key names should be prefixed by "*vendor-name*.".
41724172
"Image", or "Pipe". This may be
41734173
more restrictive than indicated
41744174
by "AccQual" to reflect what the
4175-
kernel actual does. If not
4175+
kernel actually does. If not
41764176
present then the runtime must
41774177
assume what is implied by
41784178
"AccQual" and "IsConst". Values
@@ -5436,8 +5436,8 @@ The fields used by CP for code objects before V3 also match those specified in
54365436
``COMPUTE_PGM_RSRC1.PRIORITY``.
54375437
13:12 2 bits FLOAT_ROUND_MODE_32 Wavefront starts execution
54385438
with specified rounding
5439-
mode for single (32
5440-
bit) floating point
5439+
mode for single (32-bit)
5440+
floating point
54415441
precision floating point
54425442
operations.
54435443

@@ -5769,7 +5769,7 @@ The fields used by CP for code objects before V3 also match those specified in
57695769

57705770
Wavefront starts execution
57715771
with memory violation
5772-
exceptions exceptions
5772+
exceptions
57735773
enabled which are generated
57745774
when a memory violation has
57755775
occurred for this wavefront from
@@ -6005,7 +6005,7 @@ The fields used by CP for code objects before V3 also match those specified in
60056005
FLOAT_DENORM_MODE_FLUSH_NONE 3 No Flush
60066006
====================================== ===== ====================================
60076007

6008-
Denormal flushing is sign respecting. i.e. the behavior expected by
6008+
Denormal flushing is sign respecting, i.e., the behavior expected by
60096009
``"denormal-fp-math"="preserve-sign"``. The behavior is undefined with
60106010
``"denormal-fp-math"="positive-zero"``
60116011

@@ -16831,7 +16831,7 @@ For GFX125x:
1683116831
* Some memory operations contain a ``nv`` bit, for "non-volatile", which indicates
1683216832
memory that is not expected to change during a kernel's execution.
1683316833
This information is propagated to the cache lines for that address
16834-
(refered to as ``$nv``).
16834+
(referred to as ``$nv``).
1683516835

1683616836
* When ``nv=0`` reads hit dirty ``$nv=1`` data in cache, the hardware will
1683716837
writeback the data to the next level in the hierarchy and then subsequently read
@@ -18970,7 +18970,7 @@ On entry to a function:
1897018970
#. All other registers are unspecified.
1897118971
#. Any necessary ``s_waitcnt`` has been performed to ensure memory is available
1897218972
to the function.
18973-
#. Use pass-by-reference (byref) in stead of pass-by-value (byval) for struct
18973+
#. Use pass-by-reference (byref) instead of pass-by-value (byval) for struct
1897418974
arguments in C ABI. Callee is responsible for allocating stack memory and
1897518975
copying the value of the struct if modified. Note that the backend still
1897618976
supports byval for struct arguments.
@@ -20214,7 +20214,7 @@ from the value of the ``-mcpu`` option that is passed to the assembler.
2021420214
.amdgpu_hsa_kernel (name)
2021520215
+++++++++++++++++++++++++
2021620216

20217-
This directives specifies that the symbol with given name is a kernel entry
20217+
This directive specifies that the symbol with given name is a kernel entry
2021820218
point (label) and the object should contain corresponding symbol of type
2021920219
STT_AMDGPU_HSA_KERNEL.
2022020220

0 commit comments

Comments
 (0)