[PATCH] D58623: [AMDGPU] Allow using integral non-type template parameters
Michael Liao via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 25 07:28:21 PST 2019
hliao created this revision.
hliao added reviewers: kzhuravl, yaxunl.
Herald added subscribers: cfe-commits, jdoerfert, t-tye, tpr, dstuttard, nhaehnle, wdng, jvesely.
Herald added a project: clang.
- Allow using integral non-type template parameters in the following attributes
__attribute__((amdgpu_flat_work_group_size(<min>, <max>))) __attribute__((amdgpu_waves_per_eu(<min>[, <max>])))
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D58623
Files:
clang/include/clang/Basic/Attr.td
clang/include/clang/Sema/Sema.h
clang/lib/CodeGen/TargetInfo.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
clang/test/SemaCUDA/amdgpu-attrs.cu
clang/test/SemaOpenCL/amdgpu-attrs.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58623.188172.patch
Type: text/x-patch
Size: 22332 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190225/7305dab5/attachment-0001.bin>
More information about the cfe-commits
mailing list