Skip to content

Commit 70ff9d9

Browse files
authored
Add support for StreamingInterfaceINTEL in headers (KhronosGroup#305)
SPV_INTEL_kernel_attributes.asciidoc added support for StreamingInterfaceINTEL, but the enumeration values were never added to the header files. Add it in.
1 parent 1d31a10 commit 70ff9d9

File tree

10 files changed

+18
-0
lines changed

10 files changed

+18
-0
lines changed

include/spirv/unified1/spirv.bf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ namespace Spv
192192
NoGlobalOffsetINTEL = 5895,
193193
NumSIMDWorkitemsINTEL = 5896,
194194
SchedulerTargetFmaxMhzINTEL = 5903,
195+
StreamingInterfaceINTEL = 6154,
195196
NamedBarrierCountINTEL = 6417,
196197
}
197198

include/spirv/unified1/spirv.core.grammar.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10707,6 +10707,15 @@
1070710707
"capabilities" : [ "FPGAKernelAttributesINTEL" ],
1070810708
"version" : "None"
1070910709
},
10710+
{
10711+
"enumerant" : "StreamingInterfaceINTEL",
10712+
"value" : 6154,
10713+
"parameters" : [
10714+
{ "kind" : "LiteralInteger", "name" : "'StallFreeReturn'" }
10715+
],
10716+
"capabilities" : [ "FPGAKernelAttributesINTEL" ],
10717+
"version" : "None"
10718+
},
1071010719
{
1071110720
"enumerant" : "NamedBarrierCountINTEL",
1071210721
"value" : 6417,

include/spirv/unified1/spirv.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ public enum ExecutionMode
191191
NoGlobalOffsetINTEL = 5895,
192192
NumSIMDWorkitemsINTEL = 5896,
193193
SchedulerTargetFmaxMhzINTEL = 5903,
194+
StreamingInterfaceINTEL = 6154,
194195
NamedBarrierCountINTEL = 6417,
195196
}
196197

include/spirv/unified1/spirv.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ typedef enum SpvExecutionMode_ {
199199
SpvExecutionModeNoGlobalOffsetINTEL = 5895,
200200
SpvExecutionModeNumSIMDWorkitemsINTEL = 5896,
201201
SpvExecutionModeSchedulerTargetFmaxMhzINTEL = 5903,
202+
SpvExecutionModeStreamingInterfaceINTEL = 6154,
202203
SpvExecutionModeNamedBarrierCountINTEL = 6417,
203204
SpvExecutionModeMax = 0x7fffffff,
204205
} SpvExecutionMode;

include/spirv/unified1/spirv.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ enum ExecutionMode {
195195
ExecutionModeNoGlobalOffsetINTEL = 5895,
196196
ExecutionModeNumSIMDWorkitemsINTEL = 5896,
197197
ExecutionModeSchedulerTargetFmaxMhzINTEL = 5903,
198+
ExecutionModeStreamingInterfaceINTEL = 6154,
198199
ExecutionModeNamedBarrierCountINTEL = 6417,
199200
ExecutionModeMax = 0x7fffffff,
200201
};

include/spirv/unified1/spirv.hpp11

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ enum class ExecutionMode : unsigned {
195195
NoGlobalOffsetINTEL = 5895,
196196
NumSIMDWorkitemsINTEL = 5896,
197197
SchedulerTargetFmaxMhzINTEL = 5903,
198+
StreamingInterfaceINTEL = 6154,
198199
NamedBarrierCountINTEL = 6417,
199200
Max = 0x7fffffff,
200201
};

include/spirv/unified1/spirv.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@
214214
"NoGlobalOffsetINTEL": 5895,
215215
"NumSIMDWorkitemsINTEL": 5896,
216216
"SchedulerTargetFmaxMhzINTEL": 5903,
217+
"StreamingInterfaceINTEL": 6154,
217218
"NamedBarrierCountINTEL": 6417
218219
}
219220
},

include/spirv/unified1/spirv.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ spv = {
182182
NoGlobalOffsetINTEL = 5895,
183183
NumSIMDWorkitemsINTEL = 5896,
184184
SchedulerTargetFmaxMhzINTEL = 5903,
185+
StreamingInterfaceINTEL = 6154,
185186
NamedBarrierCountINTEL = 6417,
186187
},
187188

include/spirv/unified1/spirv.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@
182182
'NoGlobalOffsetINTEL' : 5895,
183183
'NumSIMDWorkitemsINTEL' : 5896,
184184
'SchedulerTargetFmaxMhzINTEL' : 5903,
185+
'StreamingInterfaceINTEL' : 6154,
185186
'NamedBarrierCountINTEL' : 6417,
186187
},
187188

include/spirv/unified1/spv.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ enum ExecutionMode : uint
194194
NoGlobalOffsetINTEL = 5895,
195195
NumSIMDWorkitemsINTEL = 5896,
196196
SchedulerTargetFmaxMhzINTEL = 5903,
197+
StreamingInterfaceINTEL = 6154,
197198
NamedBarrierCountINTEL = 6417,
198199
}
199200

0 commit comments

Comments
 (0)