[all-commits] [llvm/llvm-project] 896b5e: [flang][cuda] Allow list-directed PRINT and WRITE ...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Mon Apr 8 09:59:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 896b5e55711121b3de4630fe1412b50d96061c1c
      https://github.com/llvm/llvm-project/commit/896b5e55711121b3de4630fe1412b50d96061c1c
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-04-08 (Mon, 08 Apr 2024)

  Changed paths:
    M flang/lib/Semantics/check-cuda.cpp
    M flang/test/Semantics/cuf09.cuf

  Log Message:
  -----------
  [flang][cuda] Allow list-directed PRINT and WRITE stmt in device code (#87415)

The specification allow list-directed PRINT and WRITE statements to
appear in device code. This patch relax the semantic check to allow
them.

3.6.11.
List-directed PRINT and WRITE statements to the default unit may be used
when compiling for compute capability 2.0 and higher; all other uses of
PRINT and WRITE are disallowed.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list