diff options
author | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2021-01-23 20:33:12 +0000 |
---|---|---|
committer | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2021-01-23 20:33:13 +0000 |
commit | 78b0630b72a9742d62b07cef912b72f1743bfae9 (patch) | |
tree | 8e052ab70a48ea0b2d53b8956b00c3f9ba06768c /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | cd3d80eacebaad076d63df65650b3bd4c5a1b99e (diff) | |
download | llvm-78b0630b72a9742d62b07cef912b72f1743bfae9.zip llvm-78b0630b72a9742d62b07cef912b72f1743bfae9.tar.gz llvm-78b0630b72a9742d62b07cef912b72f1743bfae9.tar.bz2 |
[libomptarget][cuda] Call v2 functions explicitly
[libomptarget][cuda] Call v2 functions explicitly
rtl.cpp calls functions like cuMemFree that are replaced by a macro
in cuda.h with cuMemFree_v2. This patch changes the source to use
the v2 names consistently.
See also D95104, D95155 for the idea. Alternatives are to use a mixture,
e.g. call the macro names and explictly dlopen the _v2 names, or to keep
the current status where the symbols are replaced by macros in both files
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D95274
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions