[PATCH] D36925: [PPCG] Only add Kernel argument sizes for OpenCL, not CUDA runtime

Philipp Schaad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 19 09:45:22 PDT 2017


PhilippSchaad created this revision.
Herald added subscribers: kbarton, Anastasia, yaxunl, nemanjai.

Kernel argument sizes now only get appended to the kernel launch parameter list if the OpenCL runtime is selected, not if CUDA runtime is chosen.


https://reviews.llvm.org/D36925

Files:
  lib/CodeGen/PPCGCodeGeneration.cpp
  test/GPGPU/cuda-managed-memory-simple.ll
  test/GPGPU/host-control-flow.ll
  test/GPGPU/invariant-load-hoisting.ll
  test/GPGPU/kernel-params-only-some-arrays.ll
  test/GPGPU/parametric-loop-bound.ll
  test/GPGPU/phi-nodes-in-kernel.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36925.111835.patch
Type: text/x-patch
Size: 9921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170819/78c8c5eb/attachment.bin>


More information about the llvm-commits mailing list