diff options
author | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2020-10-29 16:24:53 +0000 |
---|---|---|
committer | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2020-10-29 16:25:13 +0000 |
commit | dee7704829bd421ad3cce4b2132d28f4459b7319 (patch) | |
tree | a0c191663e5c6e41fd0a6ac914e29bdc03f76352 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d5a75e7738d0ca2955b3b10a7d4631110f930b67 (diff) | |
download | llvm-dee7704829bd421ad3cce4b2132d28f4459b7319.zip llvm-dee7704829bd421ad3cce4b2132d28f4459b7319.tar.gz llvm-dee7704829bd421ad3cce4b2132d28f4459b7319.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions