[all-commits] [llvm/llvm-project] 54ddbc: [AMDGPU] fix amdgpu_max_num_work_groups in templat...

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Wed May 28 05:05:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54ddbc6be3eeb91ae24f5e002fc1d0be7cb07654
      https://github.com/llvm/llvm-project/commit/54ddbc6be3eeb91ae24f5e002fc1d0be7cb07654
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2025-05-28 (Wed, 28 May 2025)

  Changed paths:
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/test/CodeGenCUDA/amdgpu-kernel-attrs.cu

  Log Message:
  -----------
  [AMDGPU] fix amdgpu_max_num_work_groups in templates (#141633)

Clang does not instantiate amdgpu_max_num_work_groups attribute with one
template argument, causing
assertion codegen.

Fixes: https://github.com/llvm/llvm-project/issues/139570



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