2 Commits

Author SHA1 Message Date
Valentin Clement (バレンタイン クレメン)
434c9c50f9
[flang][cuf][NFC] Clean up unused header and library (#109326)
These were part of a previous attempt and are not needed anymore.
2024-09-19 12:56:26 -07:00
Valentin Clement (バレンタイン クレメン)
cdf447baa5
[flang][cuda] Add function to allocate and deallocate device module variable (#109213)
This patch adds new runtime entry points that perform the simple
allocation/deallocation of module allocatable variable with cuda
attributes.
When the allocation is initiated on the host, the descriptor on the
device is synchronized. Both descriptors point to the same data on the
device.

This is the first PR of a stack.
2024-09-18 20:22:06 -07:00