[all-commits] [llvm/llvm-project] 18ff8d: [flang][cuda] Register managed variables with doub...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Fri Apr 4 14:38:22 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 18ff8df9583743f4e4ac2a74e55a28e35df958fb
https://github.com/llvm/llvm-project/commit/18ff8df9583743f4e4ac2a74e55a28e35df958fb
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2025-04-04 (Fri, 04 Apr 2025)
Changed paths:
M flang/lib/Optimizer/Transforms/CUFAddConstructor.cpp
M flang/test/Fir/CUDA/cuda-constructor-2.f90
Log Message:
-----------
[flang][cuda] Register managed variables with double descriptor (#134444)
Allocatable or pointer module variables with the CUDA managed attribute
are defined with a double descriptor. One on the host and one on the
device. Only the data pointed to by the descriptor will be allocated in
managed memory.
Allow the registration of any allocatable or pointer module variables
like device or constant.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list