https://github.com/clementval closed
https://github.com/llvm/llvm-project/pull/90526
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/vzakhari approved this pull request.
https://github.com/llvm/llvm-project/pull/90526
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
clementval 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 n
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 necessaril
llvmbot wrote:
@llvm/pr-subscribers-flang-semantics
Author: Valentin Clement (バレンタイン クレメン) (clementval)
Changes
Lower locals allocation of cuda device, managed and unified variables to
fir.cuda_alloc. Add fir.cuda_free in the function context finalization.
---
Full diff: https://github.
llvmbot wrote:
@llvm/pr-subscribers-flang-fir-hlfir
Author: Valentin Clement (バレンタイン クレメン) (clementval)
Changes
Lower locals allocation of cuda device, managed and unified variables to
fir.cuda_alloc. Add fir.cuda_free in the function context finalization.
---
Full diff: https://github.
https://github.com/clementval created
https://github.com/llvm/llvm-project/pull/90526
Lower locals allocation of cuda device, managed and unified variables to
fir.cuda_alloc. Add fir.cuda_free in the function context finalization.
>From 02d1ef45cae1ba973a51e5898f092403395c Mon Sep 17 00:0