Skip to content

Commit 36c7694

Browse files
authored
Merge pull request KhronosGroup#291 from broxigarchen/kernelArgProperties
add SPV_INTEL_fpga_argument_interfaces
2 parents d13b522 + 4dd2cc4 commit 36c7694

File tree

10 files changed

+169
-1
lines changed

10 files changed

+169
-1
lines changed

include/spirv/unified1/spirv.bf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,15 @@ namespace Spv
575575
SingleElementVectorINTEL = 6085,
576576
VectorComputeCallableFunctionINTEL = 6087,
577577
MediaBlockIOINTEL = 6140,
578+
ConduitKernelArgumentINTEL = 6175,
579+
RegisterMapKernelArgumentINTEL = 6176,
580+
MMHostInterfaceAddressWidthINTEL = 6177,
581+
MMHostInterfaceDataWidthINTEL = 6178,
582+
MMHostInterfaceLatencyINTEL = 6179,
583+
MMHostInterfaceReadWriteModeINTEL = 6180,
584+
MMHostInterfaceMaxBurstINTEL = 6181,
585+
MMHostInterfaceWaitRequestINTEL = 6182,
586+
StableKernelArgumentINTEL = 6183,
578587
}
579588

580589
[AllowDuplicates, CRepr] public enum BuiltIn
@@ -1138,6 +1147,7 @@ namespace Spv
11381147
AtomicFloat16AddEXT = 6095,
11391148
DebugInfoModuleINTEL = 6114,
11401149
SplitBarrierINTEL = 6141,
1150+
FPGAArgumentInterfacesINTEL = 6174,
11411151
GroupUniformArithmeticKHR = 6400,
11421152
}
11431153

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

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12517,6 +12517,78 @@
1251712517
"value" : 6140,
1251812518
"capabilities" : [ "VectorComputeINTEL" ],
1251912519
"version" : "None"
12520+
},
12521+
{
12522+
"enumerant" : "ConduitKernelArgumentINTEL",
12523+
"value" : 6175,
12524+
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
12525+
"version" : "None"
12526+
},
12527+
{
12528+
"enumerant" : "RegisterMapKernelArgumentINTEL",
12529+
"value" : 6176,
12530+
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
12531+
"version" : "None"
12532+
},
12533+
{
12534+
"enumerant" : "MMHostInterfaceAddressWidthINTEL",
12535+
"value" : 6177,
12536+
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
12537+
"parameters" : [
12538+
{ "kind" : "LiteralInteger", "name" : "'AddressWidth'" }
12539+
],
12540+
"version" : "None"
12541+
},
12542+
{
12543+
"enumerant" : "MMHostInterfaceDataWidthINTEL",
12544+
"value" : 6178,
12545+
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
12546+
"parameters" : [
12547+
{ "kind" : "LiteralInteger", "name" : "'DataWidth'" }
12548+
],
12549+
"version" : "None"
12550+
},
12551+
{
12552+
"enumerant" : "MMHostInterfaceLatencyINTEL",
12553+
"value" : 6179,
12554+
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
12555+
"parameters" : [
12556+
{ "kind" : "LiteralInteger", "name" : "'Latency'" }
12557+
],
12558+
"version" : "None"
12559+
},
12560+
{
12561+
"enumerant" : "MMHostInterfaceReadWriteModeINTEL",
12562+
"value" : 6180,
12563+
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
12564+
"parameters" : [
12565+
{ "kind" : "AccessQualifier", "name" : "'ReadWriteMode'" }
12566+
],
12567+
"version" : "None"
12568+
},
12569+
{
12570+
"enumerant" : "MMHostInterfaceMaxBurstINTEL",
12571+
"value" : 6181,
12572+
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
12573+
"parameters" : [
12574+
{ "kind" : "LiteralInteger", "name" : "'MaxBurstCount'" }
12575+
],
12576+
"version" : "None"
12577+
},
12578+
{
12579+
"enumerant" : "MMHostInterfaceWaitRequestINTEL",
12580+
"value" : 6182,
12581+
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
12582+
"parameters" : [
12583+
{ "kind" : "LiteralInteger", "name" : "'Waitrequest'" }
12584+
],
12585+
"version" : "None"
12586+
},
12587+
{
12588+
"enumerant" : "StableKernelArgumentINTEL",
12589+
"value" : 6183,
12590+
"capabilities" : [ "FPGAArgumentInterfacesINTEL" ],
12591+
"version" : "None"
1252012592
}
1252112593
]
1252212594
},
@@ -14823,6 +14895,12 @@
1482314895
"extensions" : [ "SPV_INTEL_split_barrier" ],
1482414896
"version" : "None"
1482514897
},
14898+
{
14899+
"enumerant" : "FPGAArgumentInterfacesINTEL",
14900+
"value" : 6174,
14901+
"extensions" : [ "SPV_INTEL_fpga_argument_interfaces" ],
14902+
"version" : "None"
14903+
},
1482614904
{
1482714905
"enumerant" : "GroupUniformArithmeticKHR",
1482814906
"value" : 6400,

include/spirv/unified1/spirv.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,15 @@ public enum Decoration
574574
SingleElementVectorINTEL = 6085,
575575
VectorComputeCallableFunctionINTEL = 6087,
576576
MediaBlockIOINTEL = 6140,
577+
ConduitKernelArgumentINTEL = 6175,
578+
RegisterMapKernelArgumentINTEL = 6176,
579+
MMHostInterfaceAddressWidthINTEL = 6177,
580+
MMHostInterfaceDataWidthINTEL = 6178,
581+
MMHostInterfaceLatencyINTEL = 6179,
582+
MMHostInterfaceReadWriteModeINTEL = 6180,
583+
MMHostInterfaceMaxBurstINTEL = 6181,
584+
MMHostInterfaceWaitRequestINTEL = 6182,
585+
StableKernelArgumentINTEL = 6183,
577586
}
578587

579588
public enum BuiltIn
@@ -1137,6 +1146,7 @@ public enum Capability
11371146
AtomicFloat16AddEXT = 6095,
11381147
DebugInfoModuleINTEL = 6114,
11391148
SplitBarrierINTEL = 6141,
1149+
FPGAArgumentInterfacesINTEL = 6174,
11401150
GroupUniformArithmeticKHR = 6400,
11411151
}
11421152

include/spirv/unified1/spirv.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,15 @@ typedef enum SpvDecoration_ {
580580
SpvDecorationSingleElementVectorINTEL = 6085,
581581
SpvDecorationVectorComputeCallableFunctionINTEL = 6087,
582582
SpvDecorationMediaBlockIOINTEL = 6140,
583+
SpvDecorationConduitKernelArgumentINTEL = 6175,
584+
SpvDecorationRegisterMapKernelArgumentINTEL = 6176,
585+
SpvDecorationMMHostInterfaceAddressWidthINTEL = 6177,
586+
SpvDecorationMMHostInterfaceDataWidthINTEL = 6178,
587+
SpvDecorationMMHostInterfaceLatencyINTEL = 6179,
588+
SpvDecorationMMHostInterfaceReadWriteModeINTEL = 6180,
589+
SpvDecorationMMHostInterfaceMaxBurstINTEL = 6181,
590+
SpvDecorationMMHostInterfaceWaitRequestINTEL = 6182,
591+
SpvDecorationStableKernelArgumentINTEL = 6183,
583592
SpvDecorationMax = 0x7fffffff,
584593
} SpvDecoration;
585594

@@ -1137,6 +1146,7 @@ typedef enum SpvCapability_ {
11371146
SpvCapabilityAtomicFloat16AddEXT = 6095,
11381147
SpvCapabilityDebugInfoModuleINTEL = 6114,
11391148
SpvCapabilitySplitBarrierINTEL = 6141,
1149+
SpvCapabilityFPGAArgumentInterfacesINTEL = 6174,
11401150
SpvCapabilityGroupUniformArithmeticKHR = 6400,
11411151
SpvCapabilityMax = 0x7fffffff,
11421152
} SpvCapability;

include/spirv/unified1/spirv.hpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,15 @@ enum Decoration {
576576
DecorationSingleElementVectorINTEL = 6085,
577577
DecorationVectorComputeCallableFunctionINTEL = 6087,
578578
DecorationMediaBlockIOINTEL = 6140,
579+
DecorationConduitKernelArgumentINTEL = 6175,
580+
DecorationRegisterMapKernelArgumentINTEL = 6176,
581+
DecorationMMHostInterfaceAddressWidthINTEL = 6177,
582+
DecorationMMHostInterfaceDataWidthINTEL = 6178,
583+
DecorationMMHostInterfaceLatencyINTEL = 6179,
584+
DecorationMMHostInterfaceReadWriteModeINTEL = 6180,
585+
DecorationMMHostInterfaceMaxBurstINTEL = 6181,
586+
DecorationMMHostInterfaceWaitRequestINTEL = 6182,
587+
DecorationStableKernelArgumentINTEL = 6183,
579588
DecorationMax = 0x7fffffff,
580589
};
581590

@@ -1133,6 +1142,7 @@ enum Capability {
11331142
CapabilityAtomicFloat16AddEXT = 6095,
11341143
CapabilityDebugInfoModuleINTEL = 6114,
11351144
CapabilitySplitBarrierINTEL = 6141,
1145+
CapabilityFPGAArgumentInterfacesINTEL = 6174,
11361146
CapabilityGroupUniformArithmeticKHR = 6400,
11371147
CapabilityMax = 0x7fffffff,
11381148
};

include/spirv/unified1/spirv.hpp11

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,15 @@ enum class Decoration : unsigned {
576576
SingleElementVectorINTEL = 6085,
577577
VectorComputeCallableFunctionINTEL = 6087,
578578
MediaBlockIOINTEL = 6140,
579+
ConduitKernelArgumentINTEL = 6175,
580+
RegisterMapKernelArgumentINTEL = 6176,
581+
MMHostInterfaceAddressWidthINTEL = 6177,
582+
MMHostInterfaceDataWidthINTEL = 6178,
583+
MMHostInterfaceLatencyINTEL = 6179,
584+
MMHostInterfaceReadWriteModeINTEL = 6180,
585+
MMHostInterfaceMaxBurstINTEL = 6181,
586+
MMHostInterfaceWaitRequestINTEL = 6182,
587+
StableKernelArgumentINTEL = 6183,
579588
Max = 0x7fffffff,
580589
};
581590

@@ -1133,6 +1142,7 @@ enum class Capability : unsigned {
11331142
AtomicFloat16AddEXT = 6095,
11341143
DebugInfoModuleINTEL = 6114,
11351144
SplitBarrierINTEL = 6141,
1145+
FPGAArgumentInterfacesINTEL = 6174,
11361146
GroupUniformArithmeticKHR = 6400,
11371147
Max = 0x7fffffff,
11381148
};

include/spirv/unified1/spirv.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,16 @@
601601
"FunctionFloatingPointModeINTEL": 6080,
602602
"SingleElementVectorINTEL": 6085,
603603
"VectorComputeCallableFunctionINTEL": 6087,
604-
"MediaBlockIOINTEL": 6140
604+
"MediaBlockIOINTEL": 6140,
605+
"ConduitKernelArgumentINTEL": 6175,
606+
"RegisterMapKernelArgumentINTEL": 6176,
607+
"MMHostInterfaceAddressWidthINTEL": 6177,
608+
"MMHostInterfaceDataWidthINTEL": 6178,
609+
"MMHostInterfaceLatencyINTEL": 6179,
610+
"MMHostInterfaceReadWriteModeINTEL": 6180,
611+
"MMHostInterfaceMaxBurstINTEL": 6181,
612+
"MMHostInterfaceWaitRequestINTEL": 6182,
613+
"StableKernelArgumentINTEL": 6183
605614
}
606615
},
607616
{
@@ -1113,6 +1122,7 @@
11131122
"AtomicFloat16AddEXT": 6095,
11141123
"DebugInfoModuleINTEL": 6114,
11151124
"SplitBarrierINTEL": 6141,
1125+
"FPGAArgumentInterfacesINTEL": 6174,
11161126
"GroupUniformArithmeticKHR": 6400
11171127
}
11181128
},

include/spirv/unified1/spirv.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,15 @@ spv = {
549549
SingleElementVectorINTEL = 6085,
550550
VectorComputeCallableFunctionINTEL = 6087,
551551
MediaBlockIOINTEL = 6140,
552+
ConduitKernelArgumentINTEL = 6175,
553+
RegisterMapKernelArgumentINTEL = 6176,
554+
MMHostInterfaceAddressWidthINTEL = 6177,
555+
MMHostInterfaceDataWidthINTEL = 6178,
556+
MMHostInterfaceLatencyINTEL = 6179,
557+
MMHostInterfaceReadWriteModeINTEL = 6180,
558+
MMHostInterfaceMaxBurstINTEL = 6181,
559+
MMHostInterfaceWaitRequestINTEL = 6182,
560+
StableKernelArgumentINTEL = 6183,
552561
},
553562

554563
BuiltIn = {
@@ -1095,6 +1104,7 @@ spv = {
10951104
AtomicFloat16AddEXT = 6095,
10961105
DebugInfoModuleINTEL = 6114,
10971106
SplitBarrierINTEL = 6141,
1107+
FPGAArgumentInterfacesINTEL = 6174,
10981108
GroupUniformArithmeticKHR = 6400,
10991109
},
11001110

include/spirv/unified1/spirv.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,15 @@
549549
'SingleElementVectorINTEL' : 6085,
550550
'VectorComputeCallableFunctionINTEL' : 6087,
551551
'MediaBlockIOINTEL' : 6140,
552+
'ConduitKernelArgumentINTEL' : 6175,
553+
'RegisterMapKernelArgumentINTEL' : 6176,
554+
'MMHostInterfaceAddressWidthINTEL' : 6177,
555+
'MMHostInterfaceDataWidthINTEL' : 6178,
556+
'MMHostInterfaceLatencyINTEL' : 6179,
557+
'MMHostInterfaceReadWriteModeINTEL' : 6180,
558+
'MMHostInterfaceMaxBurstINTEL' : 6181,
559+
'MMHostInterfaceWaitRequestINTEL' : 6182,
560+
'StableKernelArgumentINTEL' : 6183,
552561
},
553562

554563
'BuiltIn' : {
@@ -1095,6 +1104,7 @@
10951104
'AtomicFloat16AddEXT' : 6095,
10961105
'DebugInfoModuleINTEL' : 6114,
10971106
'SplitBarrierINTEL' : 6141,
1107+
'FPGAArgumentInterfacesINTEL' : 6174,
10981108
'GroupUniformArithmeticKHR' : 6400,
10991109
},
11001110

include/spirv/unified1/spv.d

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,15 @@ enum Decoration : uint
577577
SingleElementVectorINTEL = 6085,
578578
VectorComputeCallableFunctionINTEL = 6087,
579579
MediaBlockIOINTEL = 6140,
580+
ConduitKernelArgumentINTEL = 6175,
581+
RegisterMapKernelArgumentINTEL = 6176,
582+
MMHostInterfaceAddressWidthINTEL = 6177,
583+
MMHostInterfaceDataWidthINTEL = 6178,
584+
MMHostInterfaceLatencyINTEL = 6179,
585+
MMHostInterfaceReadWriteModeINTEL = 6180,
586+
MMHostInterfaceMaxBurstINTEL = 6181,
587+
MMHostInterfaceWaitRequestINTEL = 6182,
588+
StableKernelArgumentINTEL = 6183,
580589
}
581590

582591
enum BuiltIn : uint
@@ -1140,6 +1149,7 @@ enum Capability : uint
11401149
AtomicFloat16AddEXT = 6095,
11411150
DebugInfoModuleINTEL = 6114,
11421151
SplitBarrierINTEL = 6141,
1152+
FPGAArgumentInterfacesINTEL = 6174,
11431153
GroupUniformArithmeticKHR = 6400,
11441154
}
11451155

0 commit comments

Comments
 (0)