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
The declare directive, e.g. declare target, impacts the lowering of the code in the later stage, thus needs to handled at the very beginning before the lowering.
Declare target indicates to put device for a symbol (variable or function) to make it as a device-side-only symbol. Thus the symbol should not be applied default mapping when the compiler analyze symbols to apply default mapping. To do this, all the symbols of the declare target need to be inserted in the symbol table as global first for the file that will be produced by lowering for the kernel.
The text was updated successfully, but these errors were encountered:
The declare directive, e.g. declare target, impacts the lowering of the code in the later stage, thus needs to handled at the very beginning before the lowering.
Declare target indicates to put device for a symbol (variable or function) to make it as a device-side-only symbol. Thus the symbol should not be applied default mapping when the compiler analyze symbols to apply default mapping. To do this, all the symbols of the declare target need to be inserted in the symbol table as global first for the file that will be produced by lowering for the kernel.
The text was updated successfully, but these errors were encountered: