[all-commits] [llvm/llvm-project] 850cb1: Do not build the CUBIN conversion pass when NVPTX ...
Mehdi Amini via All-commits
all-commits at lists.llvm.org
Fri Feb 14 01:33:28 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 850cb135a3b8f7e226a40186954599187fe0f6b2
https://github.com/llvm/llvm-project/commit/850cb135a3b8f7e226a40186954599187fe0f6b2
Author: Mehdi Amini <joker-eph at gmail.com>
Date: 2020-02-14 (Fri, 14 Feb 2020)
Changed paths:
M mlir/CMakeLists.txt
M mlir/include/mlir/InitAllPasses.h
M mlir/lib/Conversion/GPUToCUDA/CMakeLists.txt
M mlir/lib/Conversion/GPUToCUDA/ConvertKernelFuncToCubin.cpp
Log Message:
-----------
Do not build the CUBIN conversion pass when NVPTX Backend isn't configured
This pass would currently build, but fail to run when this backend isn't
linked in. On the other hand, we'd like it to initialize only the NVPTX
backend, which isn't possible if we continue to build it without the
backend available. Instead of building a broken configuration, let's
skip building the pass entirely.
Differential Revision: https://reviews.llvm.org/D74592
More information about the All-commits
mailing list