[PATCH] D23424: AMDGPU: Add hidden kernel arguments to runtime metadata
Yaxun Liu via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 11 13:59:12 PDT 2016
yaxunl created this revision.
yaxunl added reviewers: nhaustov, arsenm.
yaxunl added subscribers: llvm-commits, tstellarAMD.
Herald added a reviewer: tstellarAMD.
Herald added subscribers: kzhuravl, arsenm.
OpenCL kernels have hidden kernel arguments for global offset and printf buffer. For consistency, these hidden argument should be included in the runtime metadata. They are marked with KeyArgIsHidden so that runtime will not report them in clGetKernelArgInfo.
https://reviews.llvm.org/D23424
Files:
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
lib/Target/AMDGPU/AMDGPURuntimeMetadata.h
test/CodeGen/AMDGPU/runtime-metadata.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23424.67742.patch
Type: text/x-patch
Size: 52564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160811/08a39289/attachment.bin>
More information about the llvm-commits
mailing list