Skip to content

Commit 88bc5e3

Browse files
authored
Headers support for new FPGAMemoryAttributesINTEL (KhronosGroup#384)
* Headers support for new FPGAMemoryAttributesINTEL Implementation of three new FPGAMemoryAttributesINTEL: - StridesizeINTEL - WordsizeINTEL - TrueDualPortIntel Specification: https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/INTEL/SPV_INTEL_fpga_memory_attributes.asciidoc * Update_1
1 parent 4183b26 commit 88bc5e3

File tree

10 files changed

+51
-0
lines changed

10 files changed

+51
-0
lines changed

include/spirv/unified1/spirv.bf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,9 @@ namespace Spv
582582
MergeINTEL = 5834,
583583
BankBitsINTEL = 5835,
584584
ForcePow2DepthINTEL = 5836,
585+
StridesizeINTEL = 5883,
586+
WordsizeINTEL = 5884,
587+
TrueDualPortINTEL = 5885,
585588
BurstCoalesceINTEL = 5899,
586589
CacheSizeINTEL = 5900,
587590
DontStaticallyCoalesceINTEL = 5901,

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13400,6 +13400,30 @@
1340013400
"extensions" : [ "SPV_INTEL_fpga_memory_attributes" ],
1340113401
"version" : "None"
1340213402
},
13403+
{
13404+
"enumerant" : "StridesizeINTEL",
13405+
"value" : 5883,
13406+
"parameters" : [
13407+
{ "kind" : "LiteralInteger", "name" : "'Stride Size'" }
13408+
],
13409+
"capabilities" : [ "FPGAMemoryAttributesINTEL" ],
13410+
"version" : "None"
13411+
},
13412+
{
13413+
"enumerant" : "WordsizeINTEL",
13414+
"value" : 5884,
13415+
"parameters" : [
13416+
{ "kind" : "LiteralInteger", "name" : "'Word Size'" }
13417+
],
13418+
"capabilities" : [ "FPGAMemoryAttributesINTEL" ],
13419+
"version" : "None"
13420+
},
13421+
{
13422+
"enumerant" : "TrueDualPortINTEL",
13423+
"value" : 5885,
13424+
"capabilities" : [ "FPGAMemoryAttributesINTEL" ],
13425+
"version" : "None"
13426+
},
1340313427
{
1340413428
"enumerant" : "BurstCoalesceINTEL",
1340513429
"value" : 5899,

include/spirv/unified1/spirv.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,9 @@ public enum Decoration
581581
MergeINTEL = 5834,
582582
BankBitsINTEL = 5835,
583583
ForcePow2DepthINTEL = 5836,
584+
StridesizeINTEL = 5883,
585+
WordsizeINTEL = 5884,
586+
TrueDualPortINTEL = 5885,
584587
BurstCoalesceINTEL = 5899,
585588
CacheSizeINTEL = 5900,
586589
DontStaticallyCoalesceINTEL = 5901,

include/spirv/unified1/spirv.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,9 @@ typedef enum SpvDecoration_ {
587587
SpvDecorationMergeINTEL = 5834,
588588
SpvDecorationBankBitsINTEL = 5835,
589589
SpvDecorationForcePow2DepthINTEL = 5836,
590+
SpvDecorationStridesizeINTEL = 5883,
591+
SpvDecorationWordsizeINTEL = 5884,
592+
SpvDecorationTrueDualPortINTEL = 5885,
590593
SpvDecorationBurstCoalesceINTEL = 5899,
591594
SpvDecorationCacheSizeINTEL = 5900,
592595
SpvDecorationDontStaticallyCoalesceINTEL = 5901,

include/spirv/unified1/spirv.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,9 @@ enum Decoration {
583583
DecorationMergeINTEL = 5834,
584584
DecorationBankBitsINTEL = 5835,
585585
DecorationForcePow2DepthINTEL = 5836,
586+
DecorationStridesizeINTEL = 5883,
587+
DecorationWordsizeINTEL = 5884,
588+
DecorationTrueDualPortINTEL = 5885,
586589
DecorationBurstCoalesceINTEL = 5899,
587590
DecorationCacheSizeINTEL = 5900,
588591
DecorationDontStaticallyCoalesceINTEL = 5901,

include/spirv/unified1/spirv.hpp11

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,9 @@ enum class Decoration : unsigned {
583583
MergeINTEL = 5834,
584584
BankBitsINTEL = 5835,
585585
ForcePow2DepthINTEL = 5836,
586+
StridesizeINTEL = 5883,
587+
WordsizeINTEL = 5884,
588+
TrueDualPortINTEL = 5885,
586589
BurstCoalesceINTEL = 5899,
587590
CacheSizeINTEL = 5900,
588591
DontStaticallyCoalesceINTEL = 5901,

include/spirv/unified1/spirv.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,9 @@
609609
"MergeINTEL": 5834,
610610
"BankBitsINTEL": 5835,
611611
"ForcePow2DepthINTEL": 5836,
612+
"StridesizeINTEL": 5883,
613+
"WordsizeINTEL": 5884,
614+
"TrueDualPortINTEL": 5885,
612615
"BurstCoalesceINTEL": 5899,
613616
"CacheSizeINTEL": 5900,
614617
"DontStaticallyCoalesceINTEL": 5901,

include/spirv/unified1/spirv.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,9 @@ spv = {
556556
MergeINTEL = 5834,
557557
BankBitsINTEL = 5835,
558558
ForcePow2DepthINTEL = 5836,
559+
StridesizeINTEL = 5883,
560+
WordsizeINTEL = 5884,
561+
TrueDualPortINTEL = 5885,
559562
BurstCoalesceINTEL = 5899,
560563
CacheSizeINTEL = 5900,
561564
DontStaticallyCoalesceINTEL = 5901,

include/spirv/unified1/spirv.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,9 @@
556556
'MergeINTEL' : 5834,
557557
'BankBitsINTEL' : 5835,
558558
'ForcePow2DepthINTEL' : 5836,
559+
'StridesizeINTEL' : 5883,
560+
'WordsizeINTEL' : 5884,
561+
'TrueDualPortINTEL' : 5885,
559562
'BurstCoalesceINTEL' : 5899,
560563
'CacheSizeINTEL' : 5900,
561564
'DontStaticallyCoalesceINTEL' : 5901,

include/spirv/unified1/spv.d

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,9 @@ enum Decoration : uint
584584
MergeINTEL = 5834,
585585
BankBitsINTEL = 5835,
586586
ForcePow2DepthINTEL = 5836,
587+
StridesizeINTEL = 5883,
588+
WordsizeINTEL = 5884,
589+
TrueDualPortINTEL = 5885,
587590
BurstCoalesceINTEL = 5899,
588591
CacheSizeINTEL = 5900,
589592
DontStaticallyCoalesceINTEL = 5901,

0 commit comments

Comments
 (0)