llvm-project/mlir/lib/Conversion/GPUCommon
Christian Sigg 4d295cf5b5 [mlir] Add base class for GpuKernelToBlobPass
Instead of configuring kernel-to-cubin/rocdl lowering through callbacks, introduce a base class that target-specific passes can derive from.

Put the base class in GPU/Transforms, according to the discussion in D98203.

The mlir-cuda-runner will go away shortly, and the mlir-rocdl-runner as well at some point. I therefore kept the existing code path working and will remove it in a separate step.

Depends On D98168

Reviewed By: herhut

Differential Revision: https://reviews.llvm.org/D98279
2021-03-10 12:14:43 +01:00
..
CMakeLists.txt [mlir] Add base class for GpuKernelToBlobPass 2021-03-10 12:14:43 +01:00
ConvertKernelFuncToBlob.cpp [mlir] Add base class for GpuKernelToBlobPass 2021-03-10 12:14:43 +01:00
ConvertLaunchFuncToRuntimeCalls.cpp [mlir] Add base class for GpuKernelToBlobPass 2021-03-10 12:14:43 +01:00
GPUOpsLowering.cpp [mlir] Replace deprecated 'getAttrs' 2021-02-26 14:52:40 +01:00
GPUOpsLowering.h [mlir] Use target-specific GPU kernel attributes in lowering pipelines 2021-02-12 14:09:24 +01:00
IndexIntrinsicsOpLowering.h [mlir] replace LLVMIntegerType with built-in integer type 2021-01-07 19:48:31 +01:00
OpToFuncCallLowering.h [mlir] replace LLVM dialect float types with built-ins 2021-01-08 17:38:12 +01:00