OSDN Git Service

[MLIR] Use `kernel` as a short hand for `gpu.kernel` attribute.
authorFrederik Gossen <frgossen@google.com>
Tue, 21 Apr 2020 07:11:10 +0000 (07:11 +0000)
committerFrederik Gossen <frgossen@google.com>
Wed, 22 Apr 2020 07:38:30 +0000 (07:38 +0000)
commit648fc950833422f863847d9dfd45a4625084319d
tree0af1aa87ccebbd4bb5e00aba4b09f865101f2d5d
parent04ef154124e51827c5ed5cb5e6535a2c42bc437a
[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
13 files changed:
mlir/test/Conversion/GPUToSPIRV/builtins.mlir
mlir/test/Conversion/GPUToSPIRV/if.mlir
mlir/test/Conversion/GPUToSPIRV/load-store.mlir
mlir/test/Conversion/GPUToSPIRV/loop.mlir
mlir/test/Conversion/GPUToSPIRV/simple.mlir
mlir/test/Dialect/GPU/all-reduce-max.mlir
mlir/test/Dialect/GPU/all-reduce.mlir
mlir/test/Dialect/GPU/invalid.mlir
mlir/test/Dialect/GPU/ops.mlir
mlir/test/mlir-vulkan-runner/addf.mlir
mlir/test/mlir-vulkan-runner/mulf.mlir
mlir/test/mlir-vulkan-runner/subf.mlir
mlir/test/mlir-vulkan-runner/time.mlir