[all-commits] [llvm/llvm-project] 4edc9e: [MLIR][GPU] Drop mgpuMemHostRegisterMemRef's depen...
Uday Bondhugula via All-commits
all-commits at lists.llvm.org
Fri Aug 27 23:14:31 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4edc9e2acf1d9350ce4da77c93e8869f774a24e2
https://github.com/llvm/llvm-project/commit/4edc9e2acf1d9350ce4da77c93e8869f774a24e2
Author: Uday Bondhugula <uday at polymagelabs.com>
Date: 2021-08-28 (Sat, 28 Aug 2021)
Changed paths:
M mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
Log Message:
-----------
[MLIR][GPU] Drop mgpuMemHostRegisterMemRef's dependence on LLVM Support
Drop mgpuMemHostRegisterMemRef's dependence on LLVM Support. This
method is the only one in CUDA runtime wrappers library that creates
a dependence on libLLVMSupport due to its use of SmallVector and
ArrayRef. The code can be as easily/compactly written without those ADT.
The dependence on LLVMSupport adds a significant amount of additional
complexity for external things that want to link this library in (both
statically or as a shared object) since libLLVMSupport includes numerous
other objects that are sensitive to C++ compiler version and ABI.
Differential Revision: https://reviews.llvm.org/D108684
More information about the All-commits
mailing list