[MLIR] Make gpu.launch_func rewrite pattern part of the LLVM lowering pass.
authorChristian Sigg <csigg@google.com>
Sat, 1 Aug 2020 14:40:21 +0000 (16:40 +0200)
committerChristian Sigg <csigg@google.com>
Mon, 10 Aug 2020 17:28:30 +0000 (19:28 +0200)
commit0d4b7adb8220f68f5eca08bb53d8af0b0d139c5d
treecedc3bbf9f8b50f6f2ecc7dd142a91310f17fbfb
parent70d583ad12872ef8714b15f1d1e982f1db6d9a15
[MLIR] Make gpu.launch_func rewrite pattern part of the LLVM lowering pass.

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D85073
mlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h
mlir/include/mlir/Conversion/Passes.td
mlir/lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp
mlir/test/Conversion/GPUCommon/lower-launch-func-to-gpu-runtime-calls.mlir
mlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp
mlir/tools/mlir-rocm-runner/mlir-rocm-runner.cpp