Rahul Joshi
b7382ed3fe
[MLIR] Extend Symbol verification to reject public symbol declarations.
...
- Extend the Symbol interface with `isDeclaration` to identify operations that declare
a symbol as opposed to define it.
- Extend verification to disallow public declarations as per the discussion in
https://llvm.discourse.group/t/rfc-symbol-definition-declaration-x-visibility-checks/2140
- Adopt the new interface for `FuncOp` and fix test and code to not have/create public
function declarations.
Differential Revision: https://reviews.llvm.org/D91456
2020-11-16 16:05:32 -08:00
Christian Sigg
9ab5362bab
[mlir][gpu] NFC: switch occurrences of gpu.launch_func to custom format.
...
Reviewed By: herhut
Differential Revision: https://reviews.llvm.org/D89929
2020-10-22 17:27:19 +02:00
Lei Zhang
8d420fb3a0
[spirv][nfc] Simplify resource limit with default values
...
These deafult values are gotten from Vulkan required limits.
Reviewed By: hanchung
Differential Revision: https://reviews.llvm.org/D87090
2020-09-03 13:29:26 -04:00
Denis Khalikov
ec16df7066
[mlir][vulkan-runner] Fix testsuite.
...
Summary: Fix testsuite after D78542.
Differential Revision: https://reviews.llvm.org/D78639
2020-04-22 18:24:15 +03:00
Frederik Gossen
0372db05bb
[MLIR] Use nested symbol to identify kernel in `LaunchFuncOp`.
...
Summary:
Use a nested symbol to identify the kernel to be invoked by a `LaunchFuncOp` in the GPU dialect.
This replaces the two attributes that were used to identify the kernel module and the kernel within seperately.
Differential Revision: https://reviews.llvm.org/D78551
2020-04-22 07:44:29 +00:00
Frederik Gossen
648fc95083
[MLIR] Use `kernel` as a short hand for `gpu.kernel` attribute.
...
Summary:
Use the shortcu `kernel` for the `gpu.kernel` attribute of `gpu.func`.
The parser supports this and test cases are easier to read.
Differential Revision: https://reviews.llvm.org/D78542
2020-04-22 07:38:30 +00:00
Denis Khalikov
8f4ab8c7d7
[mlir][vulkan-runner] Add support for 2D memref.
...
Summary:
This patch adds support for 2D memref in mlir-vulkan-runner.
Differential Revision: https://reviews.llvm.org/D76737
2020-03-27 13:59:17 +03:00