[flang-commits] [PATCH] D150159: [flang] CUDA Fortran - part 1/5: parsing

مهدي شينون (Mehdi Chinoune) via Phabricator via flang-commits flang-commits at lists.llvm.org
Tue May 16 10:30:41 PDT 2023


MehdiChinoune added a comment.

In D150159#4346788 <https://reviews.llvm.org/D150159#4346788>, @sscalpone wrote:

> Hi Mehdi,
>
> It's a good idea to guard CUDA Fortran dependencies on CUDA in a similar way to how clang's CUDA C++ dependencies on CUDA are guarded.
>
> This patch is front end work; because there's no lowering yet, there's no need to add such CMake options yet.   The feature is gated from Fortran users by way of a special required file extension (.cuf).

I was talking about flang code. These changes could make flang fails to build. So we have to fix it because a feature we don't use.

> Adding support for CUDA Fortran follows both this spirit and intent as did the addition of OpenMP and OpenACC.

OpenMP and OpenACC are open standards.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150159/new/

https://reviews.llvm.org/D150159



More information about the flang-commits mailing list