llvm-project/mlir/test/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
..
GPUToCUDA Add an mlir-cuda-runner tool. 2019-07-04 07:53:54 -07:00
GPUToNVVM Change the attribute dictionary syntax to separate name and value with '='. 2019-06-25 19:06:34 -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 Replace linalg.for by loop.for 2019-07-16 13:44:57 -07:00
convert-to-cfg.mlir Extract std.for std.if and std.terminator in their own dialect 2019-07-16 13:43:18 -07:00