This patch adds the runtime function to allocate and
deallocate ragged arrays.
This patch is part of the upstreaming effort from fir-dev branch.
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Paths
| Differential D114534
[flang][runtime] Add ragged array runtime functions ClosedPublic Authored by clementval on Nov 24 2021, 6:49 AM.
Details Summary This patch adds the runtime function to allocate and This patch is part of the upstreaming effort from fir-dev branch. Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Diff Detail
Event TimelineComment Actions There's no documentation in these APIs and the code doesn't look anything like the rest of the runtime. Please document what this code does and how it works. This revision now requires changes to proceed.Nov 29 2021, 9:24 AM Comment Actions
@schweitz Can you take over this patch since you are the original author of these APIs in fir-dev?
clementval added inline comments.
This revision is now accepted and ready to land.Dec 7 2021, 11:54 AM Closed by commit rG6116ff297f52: [flang][runtime] Add ragged array runtime functions (authored by clementval). · Explain WhyDec 7 2021, 12:22 PM This revision was automatically updated to reflect the committed changes. clementval marked an inline comment as done.
Revision Contents
Diff 392499 flang/include/flang/Runtime/ragged.h
flang/runtime/CMakeLists.txt
flang/runtime/ragged.cpp
flang/unittests/Runtime/CMakeLists.txt
flang/unittests/Runtime/Ragged.cpp
|
Could you convert the "flags" data member into a bool and a std::uint8_t? It's just holding a flag and an integer in the range 1-15, if I understand this rightly.