[all-commits] [llvm/llvm-project] 969651: [clang][openmp] Avoid generating geometry for Bare...

Alex Duran via All-commits all-commits at lists.llvm.org
Mon Sep 21 14:55:04 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9696514f547989b2688e73a987fb676d71f570aa
      https://github.com/llvm/llvm-project/commit/9696514f547989b2688e73a987fb676d71f570aa
  Author: Alex Duran <alejandro.duran at intel.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    M clang/test/OpenMP/nvptx_target_teams_ompx_bare_kernel_environment_codegen.cpp
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

  Log Message:
  -----------
  [clang][openmp] Avoid generating geometry for Bare kernels (#225185)

Don't use the information from num_teams or thread_limit clauses to
initialize the Kernel Environment of bare kernels. They only support one
single dimension and for NVIDIA (only) we generate a "nnvm.maxntid"
attribute which is incompatible with the multi-dimensional launch that
happens at runtime.

Fixes a regression introduced by #223772



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