[flang-commits] [flang] [flang][cuda] Force default allocator in device code (PR #102238)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Fri Aug 9 07:39:45 PDT 2024


================
@@ -154,6 +154,15 @@ RT_API_ATTRS std::size_t Descriptor::Elements() const {
   return elements;
 }
 
+RT_API_ATTRS static int MapAllocIdx(const Descriptor &desc) {
----------------
klausler wrote:

Add `inline`, please.

https://github.com/llvm/llvm-project/pull/102238


More information about the flang-commits mailing list