[llvm-branch-commits] [flang] [flang][cuda] Lower device/managed/unified allocation to cuda ops (PR #90526)

Slava Zakharin via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Apr 29 17:15:15 PDT 2024


vzakhari wrote:

Thank you, Valentin!

Is it expected that we can have a mix of `fir.alloca` and `fir.cuda_alloc` operations in the device routines (e.g. I suppose `fir::FirOpBuilder::createTemporaryAlloc` can generate `fir.alloca` for a temporary location in device code)?  It is not necessarily an issue, I just want to understand whether we will have to handle both operations in the device code.

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


More information about the llvm-branch-commits mailing list