[flang] [llvm] [flang][cuda] Pass allocator index to allocate functions (PR #157189)

Slava Zakharin via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 5 20:00:38 PDT 2025


================
@@ -23,11 +23,11 @@ namespace Fortran::runtime::cuda {
 extern "C" {
 RT_EXT_API_GROUP_BEGIN
 
-int RTDEF(CUFAllocatableAllocateSync)(Descriptor &desc, int64_t *stream,
-    bool *pinned, bool hasStat, const Descriptor *errMsg,
+int RTDEF(CUFAllocatableAllocateSync)(Descriptor &desc, int32_t allocIdx,
----------------
vzakhari wrote:

Isn't the allocator index available in the descriptor?

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


More information about the llvm-commits mailing list