diff options
author | Wen-Heng (Jack) Chung <whchung@gmail.com> | 2020-05-22 16:25:00 -0500 |
---|---|---|
committer | Wen-Heng (Jack) Chung <whchung@gmail.com> | 2020-05-28 09:08:28 -0500 |
commit | 061fb8eb2d9f6ffa05f2b57670c918c477ca7f36 (patch) | |
tree | 26bd7544f240fbbd149bcd0098bbcf545654a323 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | fdaa391e3df3c3a555d933122b0ef85eaf5eb63c (diff) | |
download | llvm-061fb8eb2d9f6ffa05f2b57670c918c477ca7f36.zip llvm-061fb8eb2d9f6ffa05f2b57670c918c477ca7f36.tar.gz llvm-061fb8eb2d9f6ffa05f2b57670c918c477ca7f36.tar.bz2 |
[mlir][gpu][mlir-cuda-runner] Refactor ConvertKernelFuncToCubin to be generic.
Make ConvertKernelFuncToCubin pass to be generic:
- Rename to ConvertKernelFuncToBlob.
- Allow specifying triple, target chip, target features.
- Initializing LLVM backend is supplied by a callback function.
- Lowering process from MLIR module to LLVM module is via another callback.
- Change mlir-cuda-runner to adopt the revised pass.
- Add new tests for lowering to ROCm HSA code object (HSACO).
- Tests for CUDA and ROCm are kept in separate directories.
Differential Revision: https://reviews.llvm.org/D80142
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions