llvm-project/mlir/test/Conversion/GPUToCUDA
Wen-Heng (Jack) Chung 2cbbc266ec [mlir][gpu] Refactor ConvertGpuLaunchFuncToCudaCalls pass.
Due to similar APIs between CUDA and ROCm (HIP),
ConvertGpuLaunchFuncToCudaCalls pass could be used on both platforms with some
refactoring.

In this commit:

- Migrate ConvertLaunchFuncToCudaCalls from GPUToCUDA to GPUCommon, and rename.
- Rename runtime wrapper APIs be platform-neutral.
- Let GPU binary annotation attribute be specifiable as a PassOption.
- Naming changes within the implementation and tests.

Subsequent patches would introduce ROCm-specific tests and runtime wrapper
APIs.

Differential Revision: https://reviews.llvm.org/D80167
2020-05-21 08:53:47 -05:00
..
lit.local.cfg Make GPU to CUDA transformations independent of CUDA runtime. 2019-06-26 05:16:37 -07:00
lower-nvvm-kernel-to-cubin.mlir Create a gpu.module operation for the GPU Dialect. 2020-01-21 14:05:03 +01:00