Skip to content

Commit 7869f0e

Browse files
authored
[DOC][SPIR-V] Add Joint Matrix to composite types (#5228)
And reuse OpConstantComposite to create a matrix. Signed-off-by: Dmitry Sidorov <[email protected]>
1 parent 64c2d35 commit 7869f0e

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

sycl/doc/extensions/SPIRV/SPV_INTEL_joint_matrix.asciidoc

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ please let us know!
5252

5353
[width="40%",cols="25,25"]
5454
|========================================
55-
| Last Modified Date | {docdate}
56-
| Revision | A
55+
| Last Modified Date | 2021-12-28
56+
| Revision | 3
5757
|========================================
5858

5959
== Dependencies
@@ -125,6 +125,14 @@ OpJointMatrixUUMADINTEL
125125

126126
== Modifications to the SPIR-V Specification, Version 1.5
127127

128+
=== 2.2 Terms
129+
Add new terms to section 2.2.2 Types:
130+
131+
_Joint Matrix_: A two-dimensional ordered collection of scalars, whose storage
132+
is spread across multiple invocations.
133+
134+
Add _Joint Matrix_ to the definition of _Composite_.
135+
128136
=== Matrix layout
129137

130138
Add section 3.XX, Matrix layout.
@@ -463,6 +471,13 @@ result of a constant instruction with scalar 'integer type'. +
463471
'Scope'
464472
|=====
465473

474+
=== 3.42.12. Composite Instructions
475+
476+
Modify OpCompositeConstruct to make an exception for joint matrix types:
477+
"If the 'Result Type' is <<OpTypeJointMatrixINTEL,*OpTypeJointMatrixINTEL*>> and
478+
there is only one 'Constituent', it will be used to initialize all elements of
479+
the matrix."
480+
466481
=== Issues
467482

468483
None
@@ -476,5 +491,6 @@ Revision History
476491
|========================================
477492
|Rev|Date|Author|Changes
478493
|1|2021-02-16|Alexey Sotkin|Initial revision
479-
|1|2021-09-06|Dmitry Sidorov|Split OpJointMatrixMadINTEL instruction into 4
494+
|2|2021-09-06|Dmitry Sidorov|Split OpJointMatrixMadINTEL instruction into 4
495+
|3|2021-12-28|Dmitry Sidorov|Add Joint Matrix to Composite definition
480496
|========================================

0 commit comments

Comments
 (0)