[PATCH] D21849: [AMDGPU] Add metadata for OpenCL runtime

Yaxun Liu via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 29 11:14:06 PDT 2016


yaxunl created this revision.
yaxunl added reviewers: tstellarAMD, arsenm.
yaxunl added a subscriber: llvm-commits.
Herald added subscribers: kzhuravl, arsenm.

Added emitting metadata to elf for OpenCL runtime.

OpenCL runtime requires certain information (metadata) about OpenCL kernels to be able to execute and query them. Such information is emitted to an elf section as a byte stream.

http://reviews.llvm.org/D21849

Files:
  lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  lib/Target/AMDGPU/AMDGPUAsmPrinter.h
  test/CodeGen/AMDGPU/kernel-attributes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21849.62248.patch
Type: text/x-patch
Size: 12821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160629/70f460f4/attachment.bin>


More information about the llvm-commits mailing list