16 Commits

Author SHA1 Message Date
Valentin Clement (バレンタイン クレメン)
a0dfe45036
Reland "[flang][cuda] Add support for derived-type initialization on device #172568" (#174107)
The build bots failure have been address in #174048
2025-12-31 11:26:17 -08:00
Valentin Clement (バレンタイン クレメン)
f43d683409
Revert "Reland "[flang][cuda] Add support for derived-type initialization on device #172568" (#174033)
This fails https://lab.llvm.org/staging/#/builders/65
This reverts commit 1ac1a547ee3b74b4d02bc94faf02ca0381196d11.
2025-12-30 15:15:44 -08:00
Valentin Clement (バレンタイン クレメン)
1ac1a547ee
Reland "[flang][cuda] Add support for derived-type initialization on device #172568" (#172913)
#172568
2025-12-30 08:49:04 -08:00
Valentin Clement (バレンタイン クレメン)
c3403db779
Revert "Reland "[flang][cuda] Add support for derived-type initialization on device #172568"" (#172889)
Reverts llvm/llvm-project#172741

Failures in Fortran testsuite. 

https://lab.llvm.org/buildbot/#/builders/199/builds/7943
2025-12-18 11:11:47 -08:00
Valentin Clement (バレンタイン クレメン)
e81bae73fe
Reland "[flang][cuda] Add support for derived-type initialization on device #172568" (#172741)
https://github.com/llvm/llvm-project/pull/172568
2025-12-18 10:11:18 -08:00
Valentin Clement (バレンタイン クレメン)
b6d06de34d
Revert "[flang][cuda] Add support for derived-type initialization on device" (#172737)
Reverts llvm/llvm-project#172568 this cause some build bots failures.
2025-12-17 12:56:41 -08:00
Valentin Clement (バレンタイン クレメン)
ca2275b25f
[flang][cuda] Add support for derived-type initialization on device (#172568)
Add support for derived-type with default initialization that are
allocated on the device.
2025-12-17 10:16:15 -08:00
Valentin Clement (バレンタイン クレメン)
1f07f7c75a
[flang][cuda] Add support for allocate with device source (#171743)
Add support for allocate statement with a source that is a device
variable.
2025-12-10 18:05:12 -08:00
Valentin Clement (バレンタイン クレメン)
ea8994b5ac
[flang][cuda] Remove TODO for descriptor with addendum (#155012)
Addendum is allocated as part of the descriptor so there is no need for
extra care.
2025-08-22 13:36:15 -07:00
Valentin Clement (バレンタイン クレメン)
f5609aa1b0
[flang][cuda] Use a reference for asyncObject (#140614)
Switch from `int64_t` to `int64_t*` to fit with the rest of the
implementation.

New tentative with some fix. The previous was reverted some time ago.

Reviewed in #138010
2025-05-19 15:02:53 -07:00
Valentin Clement (バレンタイン クレメン)
9b6b144438
Revert "[flang][cuda] Use a reference for asyncObject" (#138221)
Reverts llvm/llvm-project#138186
2025-05-01 17:41:44 -07:00
Valentin Clement (バレンタイン クレメン)
7f922f1400
[flang][cuda] Use a reference for asyncObject (#138186)
Switch from `int64_t` to `int64_t*` to fit with the rest of the
implementation.

New tentative with some fix. The previous was reverted yesterday.
2025-05-01 17:04:12 -07:00
Valentin Clement (バレンタイン クレメン)
01a18809ee
Revert "[flang][cuda] Use a reference for asyncObject (#138010)" (#138082)
This reverts commit 9b0eaf71e674a28ee55be3afa11b5f7d4da732c0.
2025-04-30 22:03:26 -07:00
Valentin Clement (バレンタイン クレメン)
16f01b3777
[flang][cuda] Fix signatures after argument change (#138081) 2025-04-30 21:40:12 -07:00
Valentin Clement (バレンタイン クレメン)
f4d87c42a6
[flang][cuda] Add asyncId to allocate entry point (#134947) 2025-04-09 10:52:02 -07:00
Michael Kruse
54f37133b7
[Flang][NFC] Move runtime library files to flang-rt (#110298)
Mostly mechanical changes in preparation of extracting the Flang-RT
"subproject" in #110217. This PR intends to only move pre-existing files
to the new folder structure, with no behavioral change. Common files
(headers, testing, cmake) shared by Flang-RT and Flang remain in
`flang/`.

Some cosmetic changes and files paths were necessary:
* Relative paths to the new path for the source files and
`add_subdirectory`.
 * Add the new location's include directory to `include_directories`
* The unittest/Evaluate directory has unitests for flang-rt and Flang. A
new `CMakeLists.txt` was introduced for the flang-rt tests.
 * Change the `#include` paths relative to the include directive
 * clang-format on the `#include` directives
* Since the paths are part if the copyright header and include guards, a
script was used to canonicalize those
* `test/Runtime` and runtime tests in `test/Driver` are moved, but the
lit.cfg.py mechanism to execute the will only be added in #110217.
2025-02-16 13:25:31 +01:00