[flang-commits] [PATCH] D150164: [flang] CUDA Fortran - part 5/5: statement semantics

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon May 8 17:09:31 PDT 2023


klausler created this revision.
klausler added reviewers: razvanlupusoru, clementval, wangzpgi, kiranchandramohan.
klausler added a project: Flang.
Herald added subscribers: sunshaoce, Anastasia, mattd, jdoerfert, yaxunl.
Herald added a reviewer: sscalpone.
Herald added a project: All.
klausler requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: jplehr, sstefan1.

Canonicalize !$CUF KERNEL DO loop nests, similar to OpenACC/OpenMP
canonicalization.  Check statements and expressions in device contexts
for usage that isn't supported.  Add more tests, and include some
tweaks to standard modules needed to build CUDA Fortran modules.

Depends on https://reviews.llvm.org/D150159,
https://reviews.llvm.org/D150161, https://reviews.llvm.org/D150162, &
https://reviews.llvm.org/D150163.


https://reviews.llvm.org/D150164

Files:
  flang/include/flang/Evaluate/call.h
  flang/include/flang/Evaluate/characteristics.h
  flang/include/flang/Evaluate/traverse.h
  flang/include/flang/Evaluate/type.h
  flang/include/flang/Semantics/expression.h
  flang/include/flang/Semantics/type.h
  flang/lib/Evaluate/characteristics.cpp
  flang/lib/Evaluate/formatting.cpp
  flang/lib/Evaluate/type.cpp
  flang/lib/Parser/unparse.cpp
  flang/lib/Semantics/CMakeLists.txt
  flang/lib/Semantics/canonicalize-acc.cpp
  flang/lib/Semantics/check-allocate.cpp
  flang/lib/Semantics/check-call.cpp
  flang/lib/Semantics/check-cuda.cpp
  flang/lib/Semantics/check-cuda.h
  flang/lib/Semantics/check-deallocate.cpp
  flang/lib/Semantics/check-declarations.cpp
  flang/lib/Semantics/definable.cpp
  flang/lib/Semantics/expression.cpp
  flang/lib/Semantics/semantics.cpp
  flang/lib/Semantics/type.cpp
  flang/module/__cuda_builtins.f90
  flang/module/__fortran_builtins.f90
  flang/module/iso_c_binding.f90
  flang/test/Parser/cuf-sanity-common
  flang/test/Parser/cuf-sanity-tree.CUF
  flang/test/Parser/cuf-sanity-unparse.CUF
  flang/test/Semantics/bind-c06.f90
  flang/test/Semantics/cuf02.cuf
  flang/test/Semantics/cuf03.cuf
  flang/test/Semantics/cuf04.cuf
  flang/test/Semantics/cuf05.cuf
  flang/test/Semantics/cuf06.cuf
  flang/test/Semantics/cuf07.cuf
  flang/test/Semantics/cuf08.cuf
  flang/test/Semantics/cuf09.cuf
  flang/test/Semantics/cuf10.cuf
  flang/test/Semantics/definable05.cuf
  flang/test/Semantics/resolve65.f90
  flang/test/Semantics/resolve67.f90

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150164.520530.patch
Type: text/x-patch
Size: 102511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20230509/bd56f1f2/attachment-0001.bin>


More information about the flang-commits mailing list