llvm-project/mlir
George Mitenkov cae4067ec1 [MLIR][mlir-spirv-cpu-runner] A pass to emulate a call to kernel in LLVM
This patch introduces a pass for running
`mlir-spirv-cpu-runner` - LowerHostCodeToLLVMPass.

This pass emulates `gpu.launch_func` call in LLVM dialect and lowers
the host module code to LLVM. It removes the `gpu.module`, creates a
sequence of global variables that are later linked to the varables
in the kernel module, as well as a series of copies to/from
them to emulate the memory transfer to/from the host or to/from the
device sides. It also converts the remaining Standard dialect into
LLVM dialect, emitting C wrappers.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D86112
2020-10-26 08:11:04 -04:00
..
cmake/modules [MLIR] Add support for defining Types in tblgen 2020-10-14 00:32:18 +00:00
docs [mlir] Simplify DDR matching patterns with equal operands for operators where it's applicable. Added documentation. 2020-10-21 21:31:39 +00:00
examples Remove global dialect registration 2020-10-24 00:35:55 +00:00
include [MLIR][mlir-spirv-cpu-runner] A pass to emulate a call to kernel in LLVM 2020-10-26 08:11:04 -04:00
integration_test [mlir] Linalg refactor for using "bufferize" terminology. 2020-10-14 12:39:15 -07:00
lib [MLIR][mlir-spirv-cpu-runner] A pass to emulate a call to kernel in LLVM 2020-10-26 08:11:04 -04:00
test [MLIR][mlir-spirv-cpu-runner] A pass to emulate a call to kernel in LLVM 2020-10-26 08:11:04 -04:00
tools Add CMake dependency from MLIRJitRunner on all dialects 2020-10-24 01:24:05 +00:00
unittests Remove global dialect registration 2020-10-24 00:35:55 +00:00
utils Add a mlir natvis file for debugging with Visual Studio 2020-10-23 14:15:01 -07:00
.clang-format
.clang-tidy Fix MLIR clang-tidy: when tweaking it does not inherit from the parent 2020-03-07 17:44:21 +00:00
CMakeLists.txt Revert "[RFC] Factor out repetitive cmake patterns for llvm-style projects" 2020-10-04 15:17:34 -07:00
LICENSE.TXT Add the Apache2 with LLVM exceptions license to MLIR 2019-12-24 00:58:06 -08:00
README.md mlir README.md: Fix the syntax 2019-12-24 13:31:07 +01:00

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.