[all-commits] [llvm/llvm-project] dee770: [AMDGPU] Add __builtin_amdgcn_grid_size
Jon Chesterfield via All-commits
all-commits at lists.llvm.org
Thu Oct 29 09:25:42 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: dee7704829bd421ad3cce4b2132d28f4459b7319
https://github.com/llvm/llvm-project/commit/dee7704829bd421ad3cce4b2132d28f4459b7319
Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
Date: 2020-10-29 (Thu, 29 Oct 2020)
Changed paths:
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
M openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.hip
Log Message:
-----------
[AMDGPU] Add __builtin_amdgcn_grid_size
[AMDGPU] Add __builtin_amdgcn_grid_size
Similar to D76772, loads the data from the dispatch pointer. Marked invariant.
Patch also updates the openmp devicertl to use this builtin.
Reviewed By: yaxunl
Differential Revision: https://reviews.llvm.org/D90251
More information about the All-commits
mailing list