[flang-commits] [flang] [flang][cuda] Force default allocator in device code (PR #102238)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Fri Aug 9 08:37:48 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) {
----------------
clementval wrote:
```suggestion
RT_API_ATTRS static inline int MapAllocIdx(const Descriptor &desc) {
```
https://github.com/llvm/llvm-project/pull/102238
More information about the flang-commits
mailing list