forked from OSchip/llvm-project
ea56025f1e
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 |
||
---|---|---|
.. | ||
ControlFlowToCFG | ||
GPUToCUDA | ||
GPUToNVVM | ||
GPUToSPIRV | ||
LoopsToGPU | ||
StandardToLLVM | ||
StandardToSPIRV | ||
CMakeLists.txt |