[all-commits] [llvm/llvm-project] c9eb1f: [OpenACC][CIR] Implement 'async' lowering. (#136626)

Erich Keane via All-commits all-commits at lists.llvm.org
Tue Apr 22 06:42:20 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c9eb1ffcfe7cf8c9751afe436a6fcab9cb5b9c9b
      https://github.com/llvm/llvm-project/commit/c9eb1ffcfe7cf8c9751afe436a6fcab9cb5b9c9b
  Author: Erich Keane <ekeane at nvidia.com>
  Date:   2025-04-22 (Tue, 22 Apr 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenStmtOpenACC.cpp
    M clang/lib/Sema/SemaOpenACCClause.cpp
    M clang/test/CIR/CodeGenOpenACC/kernels.c
    M clang/test/CIR/CodeGenOpenACC/parallel.c
    M clang/test/CIR/CodeGenOpenACC/serial.c
    M clang/test/SemaOpenACC/compute-construct-async-clause.c

  Log Message:
  -----------
  [OpenACC][CIR] Implement 'async' lowering. (#136626)

Async acts just like num_workers/vector_length in that it gets a new
variant per device_type and is lowered as an operand.

However, it has one additional complication, in that it can have a
variant that has no argument, which produces an attribute with the
correct devicetype.

Additionally, this syncronizes us with the implementation of flang,
  which prohibits multiple 'async' clauses per-device_type.



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