[flang-commits] [flang] [llvm] [Flang][OpenMP][Runtime] Minor Flang runtime for OpenMP AMDGPU (PR #152631)

via flang-commits flang-commits at lists.llvm.org
Mon Aug 11 10:54:27 PDT 2025


agozillon wrote:

> Are there other APIs from `std::` in the runtime that should be replaced?

Not that we've found so far, but there will likely be others as the runtime gets built on! So we're happy to address them as they come up.

There is an issue with abort (C abort I think, rather than std::) currently, but the method we use to work around it downstream at the moment isn't particularly upstreamable, we create an local (to the .cpp source file with the issue) extern "C" function in-place of abort to forward to the fortran runtime's abort. Unfortunately, couldn't replicate similar functionality to the memset/memcpy in the PR as we end up with duplicate symbols. 

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


More information about the flang-commits mailing list