You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ZEBinary: support implicit arguments const_base and global_base
Allow accessing global and constant variables through implicit arguments
const_base and global_base, for kernel only.
Before this change, global and constant must be accessed through relocations
in ZEBinary path. This prevent them from promoting to BTI at
StatelessToSateful pass.
ZEBinary spec update:
- add new payload_argument types: const_base and global_base
- add bit_value to payload_argument for representing const and global buffers'
bti index if promoted.
| const_base || The base address of constant buffer |
220
+
| global_base || The base address of global buffer |
218
221
<!--- <argument_type> ArgType -->
219
222
220
223
arg_byvalue and arg_bypointer are user arguments that are explicitly passed in from the applications. Other kinds of arguments are implicit arguments that are passed in by runtime.
0 commit comments