llvm-project/mlir/lib/Conversion
Mahesh Ravishankar ea56025f1e Initial implementation to translate kernel fn in GPU Dialect to SPIR-V Dialect
This CL adds an initial implementation for translation of kernel
function in GPU Dialect (used with a gpu.launch_kernel) op to a
spv.Module. The original function is translated into an entry
function.
Most of the heavy lifting is done by adding TypeConversion and other
utility functions/classes that provide most of the functionality to
translate from Standard Dialect to SPIR-V Dialect. These are intended
to be reusable in implementation of different dialect conversion
pipelines.
Note : Some of the files for have been renamed to be consistent with
the norm used by the other Conversion frameworks.
PiperOrigin-RevId: 260759165
2019-07-30 11:55:55 -07:00
..
ControlFlowToCFG NFC: Update the LoopToStd conversion patterns to use RewritePattern instead of ConversionPattern. 2019-07-22 13:22:49 -07:00
GPUToCUDA Move GPU dialect to {lib,include/mlir}/Dialect 2019-07-25 00:41:17 -07:00
GPUToNVVM Move GPU dialect to {lib,include/mlir}/Dialect 2019-07-25 00:41:17 -07:00
GPUToSPIRV Initial implementation to translate kernel fn in GPU Dialect to SPIR-V Dialect 2019-07-30 11:55:55 -07:00
LoopsToGPU Move GPU dialect to {lib,include/mlir}/Dialect 2019-07-25 00:41:17 -07:00
StandardToLLVM Add sitofp to the standard dialect 2019-07-23 11:23:40 -07:00
StandardToSPIRV Initial implementation to translate kernel fn in GPU Dialect to SPIR-V Dialect 2019-07-30 11:55:55 -07:00
CMakeLists.txt Initial implementation to translate kernel fn in GPU Dialect to SPIR-V Dialect 2019-07-30 11:55:55 -07:00