llvm-project/mlir/g3doc/Dialects
Alex Zinenko 90d65d32d6 Use named modules for gpu.launch_func
The kernel function called by gpu.launch_func is now placed into an isolated
nested module during the outlining stage to simplify separate compilation.
Until recently, modules did not have names and could not be referenced. This
limitation was circumvented by introducing a stub kernel at the same name at
the same nesting level as the module containing the actual kernel. This
relation is only effective in one direction: from actual kernel function to its
launch_func "caller".

Leverage the recently introduced symbol name attributes on modules to refer to
a specific nested module from `gpu.launch_func`. This removes the implicit
connection between the identically named stub and kernel functions. It also
enables support for `gpu.launch_func`s to call different kernels located in the
same module.

PiperOrigin-RevId: 273491891
2019-10-08 04:30:32 -07:00
..
Affine.md Fix missing links in the documentation 2019-09-27 08:07:31 -07:00
GPU.md Use named modules for gpu.launch_func 2019-10-08 04:30:32 -07:00
LLVM.md Minor spelling tweaks 2019-09-25 11:57:44 -07:00
SPIR-V.md [spirv] Add support for spv.selection 2019-10-02 11:01:57 -07:00
Standard.md Fix syntax of 'call' and 'splat' ops 2019-09-29 15:53:31 -07:00
Vector.md Fix missing links in the documentation 2019-09-27 08:07:31 -07:00