Skip to content

Commit 295cf5f

Browse files
authored
Merge pull request KhronosGroup#317 from tiwaria1/register_map_interface
Add support for the execution mode RegisterMapInterfaceINTEL
2 parents aa331ab + 3170103 commit 295cf5f

File tree

10 files changed

+34
-0
lines changed

10 files changed

+34
-0
lines changed

include/spirv/unified1/spirv.bf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ namespace Spv
193193
NumSIMDWorkitemsINTEL = 5896,
194194
SchedulerTargetFmaxMhzINTEL = 5903,
195195
StreamingInterfaceINTEL = 6154,
196+
RegisterMapInterfaceINTEL = 6160,
196197
NamedBarrierCountINTEL = 6417,
197198
}
198199

@@ -1147,6 +1148,7 @@ namespace Spv
11471148
AtomicFloat16AddEXT = 6095,
11481149
DebugInfoModuleINTEL = 6114,
11491150
SplitBarrierINTEL = 6141,
1151+
FPGAKernelAttributesv2INTEL = 6161,
11501152
FPGAArgumentInterfacesINTEL = 6174,
11511153
GroupUniformArithmeticKHR = 6400,
11521154
}

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10715,6 +10715,15 @@
1071510715
"capabilities" : [ "FPGAKernelAttributesINTEL" ],
1071610716
"version" : "None"
1071710717
},
10718+
{
10719+
"enumerant" : "RegisterMapInterfaceINTEL",
10720+
"value" : 6160,
10721+
"parameters" : [
10722+
{ "kind" : "LiteralInteger", "name" : "'WaitForDoneWrite'" }
10723+
],
10724+
"capabilities" : [ "FPGAKernelAttributesv2INTEL" ],
10725+
"version" : "None"
10726+
},
1071810727
{
1071910728
"enumerant" : "NamedBarrierCountINTEL",
1072010729
"value" : 6417,
@@ -14893,6 +14902,13 @@
1489314902
"extensions" : [ "SPV_INTEL_split_barrier" ],
1489414903
"version" : "None"
1489514904
},
14905+
{
14906+
"enumerant" : "FPGAKernelAttributesv2INTEL",
14907+
"value" : 6161,
14908+
"capabilities" : [ "FPGAKernelAttributesINTEL" ],
14909+
"extensions" : [ "SPV_INTEL_kernel_attributes" ],
14910+
"version" : "None"
14911+
},
1489614912
{
1489714913
"enumerant" : "FPGAArgumentInterfacesINTEL",
1489814914
"value" : 6174,

include/spirv/unified1/spirv.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ public enum ExecutionMode
192192
NumSIMDWorkitemsINTEL = 5896,
193193
SchedulerTargetFmaxMhzINTEL = 5903,
194194
StreamingInterfaceINTEL = 6154,
195+
RegisterMapInterfaceINTEL = 6160,
195196
NamedBarrierCountINTEL = 6417,
196197
}
197198

@@ -1146,6 +1147,7 @@ public enum Capability
11461147
AtomicFloat16AddEXT = 6095,
11471148
DebugInfoModuleINTEL = 6114,
11481149
SplitBarrierINTEL = 6141,
1150+
FPGAKernelAttributesv2INTEL = 6161,
11491151
FPGAArgumentInterfacesINTEL = 6174,
11501152
GroupUniformArithmeticKHR = 6400,
11511153
}

include/spirv/unified1/spirv.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ typedef enum SpvExecutionMode_ {
200200
SpvExecutionModeNumSIMDWorkitemsINTEL = 5896,
201201
SpvExecutionModeSchedulerTargetFmaxMhzINTEL = 5903,
202202
SpvExecutionModeStreamingInterfaceINTEL = 6154,
203+
SpvExecutionModeRegisterMapInterfaceINTEL = 6160,
203204
SpvExecutionModeNamedBarrierCountINTEL = 6417,
204205
SpvExecutionModeMax = 0x7fffffff,
205206
} SpvExecutionMode;
@@ -1146,6 +1147,7 @@ typedef enum SpvCapability_ {
11461147
SpvCapabilityAtomicFloat16AddEXT = 6095,
11471148
SpvCapabilityDebugInfoModuleINTEL = 6114,
11481149
SpvCapabilitySplitBarrierINTEL = 6141,
1150+
SpvCapabilityFPGAKernelAttributesv2INTEL = 6161,
11491151
SpvCapabilityFPGAArgumentInterfacesINTEL = 6174,
11501152
SpvCapabilityGroupUniformArithmeticKHR = 6400,
11511153
SpvCapabilityMax = 0x7fffffff,

include/spirv/unified1/spirv.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ enum ExecutionMode {
196196
ExecutionModeNumSIMDWorkitemsINTEL = 5896,
197197
ExecutionModeSchedulerTargetFmaxMhzINTEL = 5903,
198198
ExecutionModeStreamingInterfaceINTEL = 6154,
199+
ExecutionModeRegisterMapInterfaceINTEL = 6160,
199200
ExecutionModeNamedBarrierCountINTEL = 6417,
200201
ExecutionModeMax = 0x7fffffff,
201202
};
@@ -1142,6 +1143,7 @@ enum Capability {
11421143
CapabilityAtomicFloat16AddEXT = 6095,
11431144
CapabilityDebugInfoModuleINTEL = 6114,
11441145
CapabilitySplitBarrierINTEL = 6141,
1146+
CapabilityFPGAKernelAttributesv2INTEL = 6161,
11451147
CapabilityFPGAArgumentInterfacesINTEL = 6174,
11461148
CapabilityGroupUniformArithmeticKHR = 6400,
11471149
CapabilityMax = 0x7fffffff,

include/spirv/unified1/spirv.hpp11

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ enum class ExecutionMode : unsigned {
196196
NumSIMDWorkitemsINTEL = 5896,
197197
SchedulerTargetFmaxMhzINTEL = 5903,
198198
StreamingInterfaceINTEL = 6154,
199+
RegisterMapInterfaceINTEL = 6160,
199200
NamedBarrierCountINTEL = 6417,
200201
Max = 0x7fffffff,
201202
};
@@ -1142,6 +1143,7 @@ enum class Capability : unsigned {
11421143
AtomicFloat16AddEXT = 6095,
11431144
DebugInfoModuleINTEL = 6114,
11441145
SplitBarrierINTEL = 6141,
1146+
FPGAKernelAttributesv2INTEL = 6161,
11451147
FPGAArgumentInterfacesINTEL = 6174,
11461148
GroupUniformArithmeticKHR = 6400,
11471149
Max = 0x7fffffff,

include/spirv/unified1/spirv.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@
215215
"NumSIMDWorkitemsINTEL": 5896,
216216
"SchedulerTargetFmaxMhzINTEL": 5903,
217217
"StreamingInterfaceINTEL": 6154,
218+
"RegisterMapInterfaceINTEL": 6160,
218219
"NamedBarrierCountINTEL": 6417
219220
}
220221
},
@@ -1122,6 +1123,7 @@
11221123
"AtomicFloat16AddEXT": 6095,
11231124
"DebugInfoModuleINTEL": 6114,
11241125
"SplitBarrierINTEL": 6141,
1126+
"FPGAKernelAttributesv2INTEL": 6161,
11251127
"FPGAArgumentInterfacesINTEL": 6174,
11261128
"GroupUniformArithmeticKHR": 6400
11271129
}

include/spirv/unified1/spirv.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ spv = {
183183
NumSIMDWorkitemsINTEL = 5896,
184184
SchedulerTargetFmaxMhzINTEL = 5903,
185185
StreamingInterfaceINTEL = 6154,
186+
RegisterMapInterfaceINTEL = 6160,
186187
NamedBarrierCountINTEL = 6417,
187188
},
188189

@@ -1104,6 +1105,7 @@ spv = {
11041105
AtomicFloat16AddEXT = 6095,
11051106
DebugInfoModuleINTEL = 6114,
11061107
SplitBarrierINTEL = 6141,
1108+
FPGAKernelAttributesv2INTEL = 6161,
11071109
FPGAArgumentInterfacesINTEL = 6174,
11081110
GroupUniformArithmeticKHR = 6400,
11091111
},

include/spirv/unified1/spirv.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@
183183
'NumSIMDWorkitemsINTEL' : 5896,
184184
'SchedulerTargetFmaxMhzINTEL' : 5903,
185185
'StreamingInterfaceINTEL' : 6154,
186+
'RegisterMapInterfaceINTEL' : 6160,
186187
'NamedBarrierCountINTEL' : 6417,
187188
},
188189

@@ -1104,6 +1105,7 @@
11041105
'AtomicFloat16AddEXT' : 6095,
11051106
'DebugInfoModuleINTEL' : 6114,
11061107
'SplitBarrierINTEL' : 6141,
1108+
'FPGAKernelAttributesv2INTEL' : 6161,
11071109
'FPGAArgumentInterfacesINTEL' : 6174,
11081110
'GroupUniformArithmeticKHR' : 6400,
11091111
},

include/spirv/unified1/spv.d

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ enum ExecutionMode : uint
195195
NumSIMDWorkitemsINTEL = 5896,
196196
SchedulerTargetFmaxMhzINTEL = 5903,
197197
StreamingInterfaceINTEL = 6154,
198+
RegisterMapInterfaceINTEL = 6160,
198199
NamedBarrierCountINTEL = 6417,
199200
}
200201

@@ -1149,6 +1150,7 @@ enum Capability : uint
11491150
AtomicFloat16AddEXT = 6095,
11501151
DebugInfoModuleINTEL = 6114,
11511152
SplitBarrierINTEL = 6141,
1153+
FPGAKernelAttributesv2INTEL = 6161,
11521154
FPGAArgumentInterfacesINTEL = 6174,
11531155
GroupUniformArithmeticKHR = 6400,
11541156
}

0 commit comments

Comments
 (0)