mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 01:26:05 +00:00

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.