[all-commits] [llvm/llvm-project] c4e517: [AMDGPU] Adding the amdgpu_num_work_groups functio...
Jun Wang via All-commits
all-commits at lists.llvm.org
Tue Mar 12 10:31:01 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c4e517f59c086eafe2eb61d23197820f05be799c
https://github.com/llvm/llvm-project/commit/c4e517f59c086eafe2eb61d23197820f05be799c
Author: Jun Wang <jwang86 at yahoo.com>
Date: 2024-03-12 (Tue, 12 Mar 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Sema/Sema.h
M clang/lib/CodeGen/Targets/AMDGPU.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/test/CodeGenCUDA/amdgpu-kernel-attrs.cu
M clang/test/CodeGenOpenCL/amdgpu-attrs.cl
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
M clang/test/SemaCUDA/amdgpu-attrs.cu
M llvm/docs/AMDGPUUsage.rst
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
A llvm/test/CodeGen/AMDGPU/attr-amdgpu-num-workgroups.ll
A llvm/test/CodeGen/AMDGPU/attr-amdgpu-num-workgroups_error_check.ll
Log Message:
-----------
[AMDGPU] Adding the amdgpu_num_work_groups function attribute (#79035)
A new function attribute named amdgpu_num_work_groups is added. This
attribute, which consists of three integers, allows programmers to let
the compiler know the number of workgroups to be launched in each of the
three dimensions and do optimizations based on that information.
---------
Co-authored-by: Jun Wang <jun.wang7 at amd.com>
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