[all-commits] [llvm/llvm-project] 0f5eef: [OpenMP][Clang] Force use of `num_teams` and `thre...

Shilei Tian via All-commits all-commits at lists.llvm.org
Mon Dec 18 07:29:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f5eef1fb3e3f6491fb27dfb69b230946ffea69c
      https://github.com/llvm/llvm-project/commit/0f5eef1fb3e3f6491fb27dfb69b230946ffea69c
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2023-12-18 (Mon, 18 Dec 2023)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/nvptx_target_teams_ompx_bare_codegen.cpp
    M clang/test/OpenMP/ompx_bare_messages.c
    M clang/test/OpenMP/target_teams_ast_print.cpp
    M clang/test/OpenMP/target_teams_codegen.cpp

  Log Message:
  -----------
  [OpenMP][Clang] Force use of `num_teams` and `thread_limit` for bare kernel (#68373)

This patch makes `num_teams` and `thread_limit` mandatory for bare
kernels,
similar to a reguar kernel language that when launching a kernel, the
grid size
has to be set explicitly.




More information about the All-commits mailing list