Name Strings
SPV_ARM_core_builtins
Contact
To report problems with this extension, please open a new issue at:
Contributors
-
Kévin Petit, Arm Ltd.
-
Christopher Gautier, Arm Ltd.
Notice
Copyright (c) 2021 Arm Ltd.
Status
Complete.
Version
Last Modified Date |
2021-11-29 |
Revision |
1 |
Dependencies
This extension is written against the SPIR-V Specification, Version 1.5 Revision 5.
This extension requires SPIR-V 1.0.
Overview
This extension adds new builtin decorations that can be used to decorate integer variables giving programs a means to query information about the cores and warps it is running on.
Extension Name
To use this extension within a SPIR-V module, the following OpExtension must be present in the module:
OpExtension "SPV_ARM_core_builtins"
Modifications to the SPIR-V Specification, Version 1.5
Builtin
Modify section 3.21, "Builtin", adding these rows to the Builtin table:
Builtin | Enabling capability | |
---|---|---|
4160 |
CoreIDARM |
CoreBuiltinsARM |
4161 |
CoreCountARM |
CoreBuiltinsARM |
4162 |
CoreMaxIDARM |
CoreBuiltinsARM |
4163 |
WarpIDARM |
CoreBuiltinsARM |
4164 |
WarpMaxIDARM |
CoreBuiltinsARM |
Capabilities
Modify Section 3.31, "Capability", adding these rows to the Capability table:
Capability | Depends On | |
---|---|---|
4165 |
CoreBuiltinsARM |
Revision History
Rev | Date | Author | Changes |
---|---|---|---|
1 |
2021-11-29 |
Kévin Petit |
Initial revision |