[all-commits] [llvm/llvm-project] 265037: [OpenMP] Add amdgpu-num-work-groups attribute to O...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Apr 5 05:38:23 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2650375b3beeb60596ca38e2e06685e48e8ed01f
      https://github.com/llvm/llvm-project/commit/2650375b3beeb60596ca38e2e06685e48e8ed01f
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    A clang/test/OpenMP/thread_limit_amdgpu.c
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

  Log Message:
  -----------
  [OpenMP] Add amdgpu-num-work-groups attribute to OpenMP kernels (#87695)

Summary:
This new attribute was introduced recently. We already do this for NVPTX
kernels so we should apply this for AMDGPU as well. This patch simply
applies this metadata in cases where a lower bound is known



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