[flang-commits] [flang] [flang][cuda] Allow list-directed PRINT and WRITE stmt in device code (PR #87415)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Mon Apr 8 07:40:04 PDT 2024


================
@@ -275,9 +275,74 @@ template <bool IsCUFKernelDo> class DeviceContextChecker {
         },
         ec.u);
   }
+  template <typename SEEK, typename A>
+  static const auto *GetIOControl(const A &stmt) {
----------------
klausler wrote:

` -> const SEEK *` so that the reader doesn't have to figure it out

https://github.com/llvm/llvm-project/pull/87415


More information about the flang-commits mailing list