Name Strings
SPV_ALTERA_fpga_memory_accesses
Contact
To report problems with this extension, please open a new issue at:
Contributors
-
Mohammad Fawaz, Intel
-
Joe Garvey, Intel
-
Michael Kinsner, Intel
-
Alexey Sotkin, Intel
Notice
Copyright (c) 2020 Intel Corporation. All rights reserved.
Status
First draft
Version
Last Modified Date |
2020-02-20 |
Revision |
1 |
Dependencies
This extension is written against the SPIR-V Specification, Version 1.5 Revision 2.
This extension requires SPIR-V 1.0.
Overview
This extension adds decorations, useful for FPGA targets, that explicitly request that implementation of a memory access is configured in a certain way.
Extension Name
To use this extension within a SPIR-V module, the following OpExtension must be present in the module:
OpExtension "SPV_ALTERA_fpga_memory_accesses"
New capabilities
This extension introduces a new capability:
FPGAMemoryAccessesALTERA
New Decorations
Decorations added under the FPGAMemoryAccessesALTERA capability:
BurstCoalesceALTERA CacheSizeALTERA DontStaticallyCoalesceALTERA PrefetchALTERA
Token Number Assignments
FPGAMemoryAccessesALTERA |
5898 |
BurstCoalesceALTERA |
5899 |
CacheSizeALTERA |
5900 |
DontStaticallyCoalesceALTERA |
5901 |
PrefetchALTERA |
5902 |
Modifications to the SPIR-V Specification, Version 1.5
Decoration
Modify Section 3.20, Decoration, adding these rows to the Decoration table:
| Decoration | Extra Operands | Enabling Capabilities | ||
|---|---|---|---|---|
5899 |
BurstCoalesceALTERA |
FPGAMemoryAccessesALTERA |
||
5900 |
CacheSizeALTERA |
Literal Number |
FPGAMemoryAccessesALTERA |
|
5901 |
DontStaticallyCoalesceALTERA |
FPGAMemoryAccessesALTERA |
||
5902 |
PrefetchALTERA |
Literal Number |
FPGAMemoryAccessesALTERA |
|
Capability
Modify Section 3.31, Capability, adding a row to the Capability table:
| Capability | Implicitly Declares | |
|---|---|---|
5898 |
FPGAMemoryAccessesALTERA |
|
Validation Rules
None.
Issues
None.
Revision History
| Rev | Date | Author | Changes |
|---|---|---|---|
1 |
2020-02-20 |
Mohammad Fawaz |
Initial public release |