comparison llvm/docs/AMDGPU/gfx7_msg.rst @ 252:1f2b6ac9f198 llvm-original

LLVM16-1
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 18 Aug 2023 09:04:13 +0900
parents c4bab56944e8
children
comparison
equal deleted inserted replaced
237:c80f45b162ad 252:1f2b6ac9f198
22 15:10 Unused. \- 22 15:10 Unused. \-
23 ============ =============================== =============== 23 ============ =============================== ===============
24 24
25 This operand may be specified as one of the following: 25 This operand may be specified as one of the following:
26 26
27 * An :ref:`integer_number<amdgpu_synid_integer_number>` or an :ref:`absolute_expression<amdgpu_synid_absolute_expression>`. The value must be in the range 0..0xFFFF. 27 * An :ref:`integer_number<amdgpu_synid_integer_number>` or an :ref:`absolute_expression<amdgpu_synid_absolute_expression>`. The value must be in the range from 0 to 0xFFFF.
28 * A *sendmsg* value described below. 28 * A *sendmsg* value which is described below.
29 29
30 ==================================== ==================================================== 30 ==================================== ====================================================
31 Sendmsg Value Syntax Description 31 Sendmsg Value Syntax Description
32 ==================================== ==================================================== 32 ==================================== ====================================================
33 sendmsg(<*type*>) A message identified by its *type*. 33 sendmsg(<*type*>) A message identified by its *type*.
38 38
39 *Type* may be specified using message *name* or message *id*. 39 *Type* may be specified using message *name* or message *id*.
40 40
41 *Op* may be specified using operation *name* or operation *id*. 41 *Op* may be specified using operation *name* or operation *id*.
42 42
43 Stream *id* is an integer in the range 0..3. 43 Stream *id* is an integer in the range from 0 to 3.
44 44
45 Numeric values may be specified as positive :ref:`integer numbers<amdgpu_synid_integer_number>` 45 Numeric values may be specified as positive :ref:`integer numbers<amdgpu_synid_integer_number>`
46 or :ref:`absolute expressions<amdgpu_synid_absolute_expression>`. 46 or :ref:`absolute expressions<amdgpu_synid_absolute_expression>`.
47 47
48 Each message type supports specific operations: 48 Each message type supports specific operations:
65 ====================== ========== ============================== ============ ========== 65 ====================== ========== ============================== ============ ==========
66 66
67 *Sendmsg* arguments are validated depending on how *type* value is specified: 67 *Sendmsg* arguments are validated depending on how *type* value is specified:
68 68
69 * If message *type* is specified by name, arguments values must satisfy limitations detailed in the table above. 69 * If message *type* is specified by name, arguments values must satisfy limitations detailed in the table above.
70 * If message *type* is specified as a number, each argument must not exceed corresponding value range (see the first table). 70 * If message *type* is specified as a number, each argument must not exceed the corresponding value range (see the first table).
71 71
72 Examples: 72 Examples:
73 73
74 .. parsed-literal:: 74 .. parsed-literal::
75 75