You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/spirv-std/src/arch/subgroup.rs
+30-30Lines changed: 30 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -844,11 +844,11 @@ Result Type must be a scalar or vector of integer type.
844
844
845
845
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
846
846
847
-
The identity I for Operation is 0. If Operation is ClusteredReduce, ClusterSize must be present.
847
+
The identity I for Operation is 0. If Operation is ClusteredReduce, `ClusterSize` must be present.
848
848
849
849
The type of `value` must be the same as Result Type.
850
850
851
-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
851
+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
852
852
853
853
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
854
854
@@ -875,11 +875,11 @@ Result Type must be a scalar or vector of floating-point type.
875
875
876
876
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
877
877
878
-
The identity I for Operation is 0. If Operation is ClusteredReduce, ClusterSize must be present.
878
+
The identity I for Operation is 0. If Operation is ClusteredReduce, `ClusterSize` must be present.
879
879
880
880
The type of `value` must be the same as Result Type. The method used to perform the group operation on the contributed Value(s) from active invocations is implementation defined.
881
881
882
-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
882
+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
883
883
884
884
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
885
885
@@ -908,11 +908,11 @@ Result Type must be a scalar or vector of integer type.
908
908
909
909
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
910
910
911
-
The identity I for Operation is 1. If Operation is ClusteredReduce, ClusterSize must be present.
911
+
The identity I for Operation is 1. If Operation is ClusteredReduce, `ClusterSize` must be present.
912
912
913
913
The type of `value` must be the same as Result Type.
914
914
915
-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
915
+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
916
916
917
917
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
918
918
@@ -939,11 +939,11 @@ Result Type must be a scalar or vector of floating-point type.
939
939
940
940
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
941
941
942
-
The identity I for Operation is 1. If Operation is ClusteredReduce, ClusterSize must be present.
942
+
The identity I for Operation is 1. If Operation is ClusteredReduce, `ClusterSize` must be present.
943
943
944
944
The type of `value` must be the same as Result Type. The method used to perform the group operation on the contributed Value(s) from active invocations is implementation defined.
945
945
946
-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
946
+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
947
947
948
948
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
949
949
@@ -972,11 +972,11 @@ Result Type must be a scalar or vector of integer type.
972
972
973
973
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
974
974
975
-
The identity I for Operation is INT_MAX. If Operation is ClusteredReduce, ClusterSize must be present.
975
+
The identity I for Operation is INT_MAX. If Operation is ClusteredReduce, `ClusterSize` must be present.
976
976
977
977
The type of `value` must be the same as Result Type.
978
978
979
-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
979
+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
980
980
981
981
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
982
982
@@ -1003,11 +1003,11 @@ Result Type must be a scalar or vector of integer type, whose Signedness operand
1003
1003
1004
1004
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
1005
1005
1006
-
The identity I for Operation is UINT_MAX. If Operation is ClusteredReduce, ClusterSize must be present.
1006
+
The identity I for Operation is UINT_MAX. If Operation is ClusteredReduce, `ClusterSize` must be present.
1007
1007
1008
1008
The type of `value` must be the same as Result Type.
1009
1009
1010
-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1010
+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
1011
1011
1012
1012
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
1013
1013
@@ -1034,11 +1034,11 @@ Result Type must be a scalar or vector of floating-point type.
1034
1034
1035
1035
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
1036
1036
1037
-
The identity I for Operation is +INF. If Operation is ClusteredReduce, ClusterSize must be present.
1037
+
The identity I for Operation is +INF. If Operation is ClusteredReduce, `ClusterSize` must be present.
1038
1038
1039
1039
The type of `value` must be the same as Result Type. The method used to perform the group operation on the contributed Value(s) from active invocations is implementation defined. From the set of Value(s) provided by active invocations within a subgroup, if for any two Values one of them is a NaN, the other is chosen. If all Value(s) that are used by the current invocation are NaN, then the result is an undefined value.
1040
1040
1041
-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1041
+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
1042
1042
1043
1043
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
1044
1044
@@ -1067,11 +1067,11 @@ Result Type must be a scalar or vector of integer type.
1067
1067
1068
1068
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
1069
1069
1070
-
The identity I for Operation is INT_MIN. If Operation is ClusteredReduce, ClusterSize must be present.
1070
+
The identity I for Operation is INT_MIN. If Operation is ClusteredReduce, `ClusterSize` must be present.
1071
1071
1072
1072
The type of `value` must be the same as Result Type.
1073
1073
1074
-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1074
+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
1075
1075
1076
1076
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
1077
1077
@@ -1098,11 +1098,11 @@ Result Type must be a scalar or vector of integer type, whose Signedness operand
1098
1098
1099
1099
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
1100
1100
1101
-
The identity I for Operation is 0. If Operation is ClusteredReduce, ClusterSize must be present.
1101
+
The identity I for Operation is 0. If Operation is ClusteredReduce, `ClusterSize` must be present.
1102
1102
1103
1103
The type of `value` must be the same as Result Type.
1104
1104
1105
-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1105
+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
1106
1106
1107
1107
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
1108
1108
@@ -1160,11 +1160,11 @@ Result Type must be a scalar or vector of integer type.
1160
1160
1161
1161
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
1162
1162
1163
-
The identity I for Operation is ~0. If Operation is ClusteredReduce, ClusterSize must be present.
1163
+
The identity I for Operation is ~0. If Operation is ClusteredReduce, `ClusterSize` must be present.
1164
1164
1165
1165
The type of `value` must be the same as Result Type.
1166
1166
1167
-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1167
+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
1168
1168
1169
1169
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
1170
1170
@@ -1193,11 +1193,11 @@ Result Type must be a scalar or vector of integer type.
1193
1193
1194
1194
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
1195
1195
1196
-
The identity I for Operation is 0. If Operation is ClusteredReduce, ClusterSize must be present.
1196
+
The identity I for Operation is 0. If Operation is ClusteredReduce, `ClusterSize` must be present.
1197
1197
1198
1198
The type of `value` must be the same as Result Type.
1199
1199
1200
-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1200
+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
1201
1201
1202
1202
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
1203
1203
@@ -1226,11 +1226,11 @@ Result Type must be a scalar or vector of integer type.
1226
1226
1227
1227
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
1228
1228
1229
-
The identity I for Operation is 0. If Operation is ClusteredReduce, ClusterSize must be present.
1229
+
The identity I for Operation is 0. If Operation is ClusteredReduce, `ClusterSize` must be present.
1230
1230
1231
1231
The type of `value` must be the same as Result Type.
1232
1232
1233
-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1233
+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
1234
1234
1235
1235
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
1236
1236
@@ -1259,11 +1259,11 @@ Result Type must be a scalar or vector of Boolean type.
1259
1259
1260
1260
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
1261
1261
1262
-
The identity I for Operation is ~0. If Operation is ClusteredReduce, ClusterSize must be present.
1262
+
The identity I for Operation is ~0. If Operation is ClusteredReduce, `ClusterSize` must be present.
1263
1263
1264
1264
The type of `value` must be the same as Result Type.
1265
1265
1266
-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1266
+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
1267
1267
1268
1268
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
1269
1269
@@ -1292,11 +1292,11 @@ Result Type must be a scalar or vector of Boolean type.
1292
1292
1293
1293
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
1294
1294
1295
-
The identity I for Operation is 0. If Operation is ClusteredReduce, ClusterSize must be present.
1295
+
The identity I for Operation is 0. If Operation is ClusteredReduce, `ClusterSize` must be present.
1296
1296
1297
1297
The type of `value` must be the same as Result Type.
1298
1298
1299
-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1299
+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
1300
1300
1301
1301
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
1302
1302
@@ -1325,11 +1325,11 @@ Result Type must be a scalar or vector of Boolean type.
1325
1325
1326
1326
Execution is a Scope that identifies the group of invocations affected by this command. It must be Subgroup.
1327
1327
1328
-
The identity I for Operation is 0. If Operation is ClusteredReduce, ClusterSize must be present.
1328
+
The identity I for Operation is 0. If Operation is ClusteredReduce, `ClusterSize` must be present.
1329
1329
1330
1330
The type of `value` must be the same as Result Type.
1331
1331
1332
-
ClusterSize is the size of cluster to use. ClusterSize must be a scalar of integer type, whose Signedness operand is 0. ClusterSize must come from a constant instruction. Behavior is undefined unless ClusterSize is at least 1 and a power of 2. If ClusterSize is greater than the size of the group, executing this instruction results in undefined behavior.
1332
+
`ClusterSize` is the size of cluster to use. `ClusterSize` must be a scalar of integer type, whose Signedness operand is 0. `ClusterSize` must come from a constant instruction. Behavior is undefined unless `ClusterSize` is at least 1 and a power of 2. If `ClusterSize` is greater than the size of the group, executing this instruction results in undefined behavior.
1333
1333
1334
1334
Requires Capability `GroupNonUniformArithmetic` and `GroupNonUniformClustered`.
0 commit comments