[Openmp-commits] [PATCH] D65876: Use forceinline. Necessary for nvcc to inline small functions within the bitcode library
Jon Chesterfield via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Aug 7 08:25:39 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL368177: Use forceinline. Necessary for nvcc to inline small functions within theā¦ (authored by JonChesterfield, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D65876?vs=213883&id=213906#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65876/new/
https://reviews.llvm.org/D65876
Files:
openmp/trunk/libomptarget/deviceRTLs/nvptx/src/option.h
Index: openmp/trunk/libomptarget/deviceRTLs/nvptx/src/option.h
===================================================================
--- openmp/trunk/libomptarget/deviceRTLs/nvptx/src/option.h
+++ openmp/trunk/libomptarget/deviceRTLs/nvptx/src/option.h
@@ -55,7 +55,7 @@
////////////////////////////////////////////////////////////////////////////////
#define EXTERN extern "C" __device__
-#define INLINE __inline__ __device__
+#define INLINE __forceinline__ __device__
#define NOINLINE __noinline__ __device__
#ifndef TRUE
#define TRUE 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65876.213906.patch
Type: text/x-patch
Size: 544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20190807/800669db/attachment.bin>
More information about the Openmp-commits
mailing list