[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:51:25 PDT 2024


https://github.com/vzakhari approved this pull request.

Looks okay, though, I am not sure if all the driver APIs (like `cuMemAllocHost`) can be used in kernel code.  Isn't it okay to use `malloc`/`free` in the device code?

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


More information about the flang-commits mailing list