2019-10-18 15:30:14 +08:00
|
|
|
set(LLVM_TARGET_DEFINITIONS GPUToNVVM.td)
|
|
|
|
mlir_tablegen(GPUToNVVM.cpp.inc -gen-rewriters)
|
|
|
|
add_public_tablegen_target(MLIRGPUToNVVMIncGen)
|
|
|
|
|
[mlir] Fix case in MLIRGPUtoNVVMTransforms
Summary:
This changes the casing of MLIRGPUtoNVVMTransforms to be consistent
with other transform libraries.
Reviewers: stephenneuendorffer, herhut
Reviewed By: herhut
Subscribers: jholewinski, mgorny, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, csigg, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, Joonsoo, grosul1, Kayjukh, jurahul, msifontes
Tags: #mlir
Differential Revision: https://reviews.llvm.org/D82842
2020-07-01 02:44:04 +08:00
|
|
|
add_mlir_conversion_library(MLIRGPUToNVVMTransforms
|
2019-06-17 18:56:20 +08:00
|
|
|
LowerGpuOpsToNVVMOps.cpp
|
2020-03-01 03:51:04 +08:00
|
|
|
|
2020-02-21 02:48:51 +08:00
|
|
|
DEPENDS
|
2020-04-01 16:49:43 +08:00
|
|
|
MLIRConversionPassIncGen
|
2020-02-21 02:48:51 +08:00
|
|
|
MLIRGPUToNVVMIncGen
|
2019-10-18 15:30:14 +08:00
|
|
|
|
2020-05-05 03:41:43 +08:00
|
|
|
LINK_LIBS PUBLIC
|
2019-06-17 18:56:20 +08:00
|
|
|
MLIRGPU
|
2021-02-12 19:53:12 +08:00
|
|
|
MLIRGPUToGPURuntimeTransforms
|
2019-06-17 18:56:20 +08:00
|
|
|
MLIRLLVMIR
|
2021-02-10 20:53:11 +08:00
|
|
|
MLIRMemRef
|
2019-06-17 18:56:20 +08:00
|
|
|
MLIRNVVMIR
|
|
|
|
MLIRPass
|
[MLIR] Fixes for shared library dependencies.
Summary:
This patch is a step towards enabling BUILD_SHARED_LIBS=on, which
builds most libraries as DLLs instead of statically linked libraries.
The main effect of this is that incremental build times are greatly
reduced, since usually only one library need be relinked in response
to isolated code changes.
The bulk of this patch is fixing incorrect usage of cmake, where library
dependencies are listed under add_dependencies rather than under
target_link_libraries or under the LINK_LIBS tag. Correct usage should be
like this:
add_dependencies(MLIRfoo MLIRfooIncGen)
target_link_libraries(MLIRfoo MLIRlib1 MLIRlib2)
A separate issue is that in cmake, dependencies between static libraries
are automatically included in dependencies. In the above example, if MLIBlib1
depends on MLIRlib2, then it is sufficient to have only MLIRlib1 in the
target_link_libraries. When compiling with shared libraries, it is necessary
to have both MLIRlib1 and MLIRlib2 specified if MLIRfoo uses symbols from both.
Reviewers: mravishankar, antiagainst, nicolasvasilache, vchuravy, inouehrs, mehdi_amini, jdoerfert
Reviewed By: nicolasvasilache, mehdi_amini
Subscribers: Joonsoo, merge_guards_bot, jholewinski, mgorny, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, csigg, arpith-jacob, mgester, lucyrfox, herhut, aartbik, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73653
2020-01-01 09:23:01 +08:00
|
|
|
MLIRStandardToLLVM
|
|
|
|
MLIRTransformUtils
|
2019-06-17 18:56:20 +08:00
|
|
|
)
|