Skip to content

Commit afe1c65

Browse files
committed
Add support for SPV_INTEL_fpga_latency_control extension
Signed-off-by: Arvind Sudarsanam <[email protected]>
1 parent aa331ab commit afe1c65

File tree

10 files changed

+47
-0
lines changed

10 files changed

+47
-0
lines changed

include/spirv/unified1/spirv.bf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,8 @@ namespace Spv
575575
SingleElementVectorINTEL = 6085,
576576
VectorComputeCallableFunctionINTEL = 6087,
577577
MediaBlockIOINTEL = 6140,
578+
LatencyControlLabelINTEL = 6172,
579+
LatencyControlConstraintINTEL = 6173,
578580
ConduitKernelArgumentINTEL = 6175,
579581
RegisterMapKernelArgumentINTEL = 6176,
580582
MMHostInterfaceAddressWidthINTEL = 6177,
@@ -1147,6 +1149,7 @@ namespace Spv
11471149
AtomicFloat16AddEXT = 6095,
11481150
DebugInfoModuleINTEL = 6114,
11491151
SplitBarrierINTEL = 6141,
1152+
FPGALatencyControlINTEL = 6171,
11501153
FPGAArgumentInterfacesINTEL = 6174,
11511154
GroupUniformArithmeticKHR = 6400,
11521155
}

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12517,6 +12517,20 @@
1251712517
"capabilities" : [ "VectorComputeINTEL" ],
1251812518
"version" : "None"
1251912519
},
12520+
{
12521+
"enumerant" : "LatencyControlLabelINTEL",
12522+
"value" : 6172,
12523+
"capabilities" : [ "FPGALatencyControlINTEL" ],
12524+
"extensions" : [ "SPV_INTEL_fpga_latency_control" ],
12525+
"version" : "None"
12526+
},
12527+
{
12528+
"enumerant" : "LatencyControlConstraintINTEL",
12529+
"value" : 6173,
12530+
"capabilities" : [ "FPGALatencyControlINTEL" ],
12531+
"extensions" : [ "SPV_INTEL_fpga_latency_control" ],
12532+
"version" : "None"
12533+
},
1252012534
{
1252112535
"enumerant" : "ConduitKernelArgumentINTEL",
1252212536
"value" : 6175,
@@ -14893,6 +14907,12 @@
1489314907
"extensions" : [ "SPV_INTEL_split_barrier" ],
1489414908
"version" : "None"
1489514909
},
14910+
{
14911+
"enumerant" : "FPGALatencyControlINTEL",
14912+
"value" : 6171,
14913+
"extensions" : [ "SPV_INTEL_fpga_latency_control" ],
14914+
"version" : "None"
14915+
},
1489614916
{
1489714917
"enumerant" : "FPGAArgumentInterfacesINTEL",
1489814918
"value" : 6174,

include/spirv/unified1/spirv.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,8 @@ public enum Decoration
574574
SingleElementVectorINTEL = 6085,
575575
VectorComputeCallableFunctionINTEL = 6087,
576576
MediaBlockIOINTEL = 6140,
577+
LatencyControlLabelINTEL = 6172,
578+
LatencyControlConstraintINTEL = 6173,
577579
ConduitKernelArgumentINTEL = 6175,
578580
RegisterMapKernelArgumentINTEL = 6176,
579581
MMHostInterfaceAddressWidthINTEL = 6177,
@@ -1146,6 +1148,7 @@ public enum Capability
11461148
AtomicFloat16AddEXT = 6095,
11471149
DebugInfoModuleINTEL = 6114,
11481150
SplitBarrierINTEL = 6141,
1151+
FPGALatencyControlINTEL = 6171,
11491152
FPGAArgumentInterfacesINTEL = 6174,
11501153
GroupUniformArithmeticKHR = 6400,
11511154
}

include/spirv/unified1/spirv.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,8 @@ typedef enum SpvDecoration_ {
580580
SpvDecorationSingleElementVectorINTEL = 6085,
581581
SpvDecorationVectorComputeCallableFunctionINTEL = 6087,
582582
SpvDecorationMediaBlockIOINTEL = 6140,
583+
SpvDecorationLatencyControlLabelINTEL = 6172,
584+
SpvDecorationLatencyControlConstraintINTEL = 6173,
583585
SpvDecorationConduitKernelArgumentINTEL = 6175,
584586
SpvDecorationRegisterMapKernelArgumentINTEL = 6176,
585587
SpvDecorationMMHostInterfaceAddressWidthINTEL = 6177,
@@ -1146,6 +1148,7 @@ typedef enum SpvCapability_ {
11461148
SpvCapabilityAtomicFloat16AddEXT = 6095,
11471149
SpvCapabilityDebugInfoModuleINTEL = 6114,
11481150
SpvCapabilitySplitBarrierINTEL = 6141,
1151+
SpvCapabilityFPGALatencyControlINTEL = 6171,
11491152
SpvCapabilityFPGAArgumentInterfacesINTEL = 6174,
11501153
SpvCapabilityGroupUniformArithmeticKHR = 6400,
11511154
SpvCapabilityMax = 0x7fffffff,

include/spirv/unified1/spirv.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,8 @@ enum Decoration {
576576
DecorationSingleElementVectorINTEL = 6085,
577577
DecorationVectorComputeCallableFunctionINTEL = 6087,
578578
DecorationMediaBlockIOINTEL = 6140,
579+
DecorationLatencyControlLabelINTEL = 6172,
580+
DecorationLatencyControlConstraintINTEL = 6173,
579581
DecorationConduitKernelArgumentINTEL = 6175,
580582
DecorationRegisterMapKernelArgumentINTEL = 6176,
581583
DecorationMMHostInterfaceAddressWidthINTEL = 6177,
@@ -1142,6 +1144,7 @@ enum Capability {
11421144
CapabilityAtomicFloat16AddEXT = 6095,
11431145
CapabilityDebugInfoModuleINTEL = 6114,
11441146
CapabilitySplitBarrierINTEL = 6141,
1147+
CapabilityFPGALatencyControlINTEL = 6171,
11451148
CapabilityFPGAArgumentInterfacesINTEL = 6174,
11461149
CapabilityGroupUniformArithmeticKHR = 6400,
11471150
CapabilityMax = 0x7fffffff,

include/spirv/unified1/spirv.hpp11

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,8 @@ enum class Decoration : unsigned {
576576
SingleElementVectorINTEL = 6085,
577577
VectorComputeCallableFunctionINTEL = 6087,
578578
MediaBlockIOINTEL = 6140,
579+
LatencyControlLabelINTEL = 6172,
580+
LatencyControlConstraintINTEL = 6173,
579581
ConduitKernelArgumentINTEL = 6175,
580582
RegisterMapKernelArgumentINTEL = 6176,
581583
MMHostInterfaceAddressWidthINTEL = 6177,
@@ -1142,6 +1144,7 @@ enum class Capability : unsigned {
11421144
AtomicFloat16AddEXT = 6095,
11431145
DebugInfoModuleINTEL = 6114,
11441146
SplitBarrierINTEL = 6141,
1147+
FPGALatencyControlINTEL = 6171,
11451148
FPGAArgumentInterfacesINTEL = 6174,
11461149
GroupUniformArithmeticKHR = 6400,
11471150
Max = 0x7fffffff,

include/spirv/unified1/spirv.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,8 @@
602602
"SingleElementVectorINTEL": 6085,
603603
"VectorComputeCallableFunctionINTEL": 6087,
604604
"MediaBlockIOINTEL": 6140,
605+
"LatencyControlLabelINTEL": 6172,
606+
"LatencyControlConstraintINTEL": 6173,
605607
"ConduitKernelArgumentINTEL": 6175,
606608
"RegisterMapKernelArgumentINTEL": 6176,
607609
"MMHostInterfaceAddressWidthINTEL": 6177,
@@ -1122,6 +1124,7 @@
11221124
"AtomicFloat16AddEXT": 6095,
11231125
"DebugInfoModuleINTEL": 6114,
11241126
"SplitBarrierINTEL": 6141,
1127+
"FPGALatencyControlINTEL": 6171,
11251128
"FPGAArgumentInterfacesINTEL": 6174,
11261129
"GroupUniformArithmeticKHR": 6400
11271130
}

include/spirv/unified1/spirv.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,8 @@ spv = {
549549
SingleElementVectorINTEL = 6085,
550550
VectorComputeCallableFunctionINTEL = 6087,
551551
MediaBlockIOINTEL = 6140,
552+
LatencyControlLabelINTEL = 6172,
553+
LatencyControlConstraintINTEL = 6173,
552554
ConduitKernelArgumentINTEL = 6175,
553555
RegisterMapKernelArgumentINTEL = 6176,
554556
MMHostInterfaceAddressWidthINTEL = 6177,
@@ -1104,6 +1106,7 @@ spv = {
11041106
AtomicFloat16AddEXT = 6095,
11051107
DebugInfoModuleINTEL = 6114,
11061108
SplitBarrierINTEL = 6141,
1109+
FPGALatencyControlINTEL = 6171,
11071110
FPGAArgumentInterfacesINTEL = 6174,
11081111
GroupUniformArithmeticKHR = 6400,
11091112
},

include/spirv/unified1/spirv.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,8 @@
549549
'SingleElementVectorINTEL' : 6085,
550550
'VectorComputeCallableFunctionINTEL' : 6087,
551551
'MediaBlockIOINTEL' : 6140,
552+
'LatencyControlLabelINTEL' : 6172,
553+
'LatencyControlConstraintINTEL' : 6173,
552554
'ConduitKernelArgumentINTEL' : 6175,
553555
'RegisterMapKernelArgumentINTEL' : 6176,
554556
'MMHostInterfaceAddressWidthINTEL' : 6177,
@@ -1104,6 +1106,7 @@
11041106
'AtomicFloat16AddEXT' : 6095,
11051107
'DebugInfoModuleINTEL' : 6114,
11061108
'SplitBarrierINTEL' : 6141,
1109+
'FPGALatencyControlINTEL' : 6171,
11071110
'FPGAArgumentInterfacesINTEL' : 6174,
11081111
'GroupUniformArithmeticKHR' : 6400,
11091112
},

include/spirv/unified1/spv.d

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,8 @@ enum Decoration : uint
577577
SingleElementVectorINTEL = 6085,
578578
VectorComputeCallableFunctionINTEL = 6087,
579579
MediaBlockIOINTEL = 6140,
580+
LatencyControlLabelINTEL = 6172,
581+
LatencyControlConstraintINTEL = 6173,
580582
ConduitKernelArgumentINTEL = 6175,
581583
RegisterMapKernelArgumentINTEL = 6176,
582584
MMHostInterfaceAddressWidthINTEL = 6177,
@@ -1149,6 +1151,7 @@ enum Capability : uint
11491151
AtomicFloat16AddEXT = 6095,
11501152
DebugInfoModuleINTEL = 6114,
11511153
SplitBarrierINTEL = 6141,
1154+
FPGALatencyControlINTEL = 6171,
11521155
FPGAArgumentInterfacesINTEL = 6174,
11531156
GroupUniformArithmeticKHR = 6400,
11541157
}

0 commit comments

Comments
 (0)