Sergio Afonso
63ca93c7d1
[OpenMP][OMPIRBuilder] Rename IsEmbedded and IsTargetCodegen flags
...
This patch renames the `OpenMPIRBuilderConfig` flags to reduce confusion over
their meaning. `IsTargetCodegen` becomes `IsGPU`, whereas `IsEmbedded` becomes
`IsTargetDevice`. The `-fopenmp-is-device` compiler option is also renamed to
`-fopenmp-is-target-device` and the `omp.is_device` MLIR attribute is renamed
to `omp.is_target_device`. Getters and setters of all these renamed properties
are also updated accordingly. Many unit tests have been updated to use the new
names, but an alias for the `-fopenmp-is-device` option is created so that
external programs do not stop working after the name change.
`IsGPU` is set when the target triple is AMDGCN or NVIDIA PTX, and it is only
valid if `IsTargetDevice` is specified as well. `IsTargetDevice` is set by the
`-fopenmp-is-target-device` compiler frontend option, which is only added to
the OpenMP device invocation for offloading-enabled programs.
Differential Revision: https://reviews.llvm.org/D154591
2023-07-10 14:14:16 +01:00
..
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2023-03-16 07:16:41 -04:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2023-05-16 09:41:24 -04:00
2022-10-07 14:22:00 +02:00
2023-06-19 12:17:30 -05:00
2022-12-12 15:32:44 +01:00
2022-09-02 12:36:44 -07:00
2022-06-16 17:07:03 -05:00
2022-06-16 17:07:03 -05:00
2023-04-24 22:59:54 -07:00
2022-04-08 23:25:56 +00:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2023-05-10 15:43:52 +08:00
2023-06-13 00:53:31 -05:00
2022-10-07 14:22:00 +02:00
2022-10-14 13:30:59 -05:00
2022-06-16 17:07:03 -05:00
2022-10-07 14:22:00 +02:00
2023-05-10 15:43:52 +08:00
2023-05-10 15:43:52 +08:00
2023-05-10 15:43:52 +08:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2023-05-10 15:43:52 +08:00
2023-05-10 15:43:52 +08:00
2022-12-07 16:44:12 +08:00
2023-04-27 14:41:10 +01:00
2022-06-16 17:07:03 -05:00
2023-04-27 14:41:10 +01:00
2022-10-07 14:22:00 +02:00
2023-06-13 00:53:31 -05:00
2023-05-10 15:43:52 +08:00
2022-10-07 14:22:00 +02:00
2022-07-20 14:17:23 +02:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-06-29 09:35:52 -05:00
2023-05-10 15:43:52 +08:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-05-19 11:28:40 -05:00
2022-10-07 14:22:00 +02:00
2022-10-31 13:15:09 -07:00
2022-10-07 14:22:00 +02:00
2023-06-13 00:53:31 -05:00
2023-06-13 00:53:31 -05:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2023-05-10 15:43:52 +08:00
2023-05-10 15:43:52 +08:00
2022-12-07 16:44:12 +08:00
2023-05-10 15:43:52 +08:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2023-05-10 15:43:52 +08:00
2022-06-16 17:07:03 -05:00
2022-10-07 14:22:00 +02:00
2022-04-05 22:43:48 -04:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-12-12 15:32:44 +01:00
2023-03-16 07:16:41 -04:00
2022-10-07 14:22:00 +02:00
2022-12-12 15:32:44 +01:00
2022-10-07 14:22:00 +02:00
2023-05-23 16:35:25 +08:00
2023-06-13 00:53:31 -05:00
2022-12-12 15:32:44 +01:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-12-12 15:32:44 +01:00
2022-12-12 15:32:44 +01:00
2022-10-07 14:22:00 +02:00
2023-07-10 14:14:16 +01:00
2022-10-07 14:22:00 +02:00
2022-12-12 15:32:44 +01:00
2022-12-15 07:01:14 -08:00
2022-12-15 07:01:14 -08:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2023-05-10 15:43:52 +08:00
2023-05-10 15:43:52 +08:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2023-02-21 15:44:57 -06:00
2022-10-07 14:22:00 +02:00
2023-03-16 07:16:41 -04:00
2022-06-16 17:07:03 -05:00
2022-10-07 14:22:00 +02:00
2022-12-12 15:32:44 +01:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00
2022-10-07 14:22:00 +02:00