[all-commits] [llvm/llvm-project] 369e26: [AMDGPU] Add __builtin_amdgcn_workgroup_size_x/y/z
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Fri Mar 27 22:11:53 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 369e26ca9e0d9ceb87c70d26e9f13e793ee1ab40
https://github.com/llvm/llvm-project/commit/369e26ca9e0d9ceb87c70d26e9f13e793ee1ab40
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2020-03-28 (Sat, 28 Mar 2020)
Changed paths:
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/include/clang/Basic/TargetInfo.h
M clang/lib/Basic/TargetInfo.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
A clang/test/CodeGenCUDA/amdgpu-workgroup-size.cu
M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
Log Message:
-----------
[AMDGPU] Add __builtin_amdgcn_workgroup_size_x/y/z
The main purpose of introducing these builtins is to add a range
metadata [1, 1025) on the work group size loaded from dispatch
ptr, which cannot be done by source code.
Differential Revision: https://reviews.llvm.org/D76772
More information about the All-commits
mailing list