[flang-commits] [flang] [flang][cuda] Add RT_API_ATTRS to allocator functions (PR #102235)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Tue Aug 6 14:57:29 PDT 2024


vzakhari wrote:

Maybe we can always assume the default allocator index in device code, so that `malloc` and `free` are used. Then we do not need to register any other allocators on the device. I suppose registration will require a kernel invocation, which adds some overhead.

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


More information about the flang-commits mailing list