[PATCH] D32961: [Polly][PPCGCodeGen] OpenCL now gets kernel argument size from PPCG CodeGen

Philipp Schaad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 00:35:59 PDT 2017


PhilippSchaad created this revision.
PhilippSchaad added a project: Polly.
Herald added subscribers: Anastasia, yaxunl, nemanjai.

PPCGCodeGeneration now attaches the size of the kernel

           launch parameters at the end of the parameter list. For the existing
  	 CUDA Runtime, this gets ignored, but the OpenCL Runtime knows
  	 to check for kernel-argument size at the end of the parameter list.
           (The resulting parameters list is twice as long. This has been
           accounted for in the corresponding test cases).


https://reviews.llvm.org/D32961

Files:
  lib/CodeGen/PPCGCodeGeneration.cpp
  test/GPGPU/cuda-managed-memory-simple.ll
  test/GPGPU/host-control-flow.ll
  test/GPGPU/kernel-params-only-some-arrays.ll
  test/GPGPU/parametric-loop-bound.ll
  tools/GPURuntime/GPUJIT.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32961.98132.patch
Type: text/x-patch
Size: 10092 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170508/c0c5a94b/attachment.bin>


More information about the llvm-commits mailing list