[PATCH] D26507: [OpenCL] Change to clk_event parameter in enqueue_kernel

Anastasia Stulova via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 10 08:14:26 PST 2016


Anastasia created this revision.
Anastasia added a reviewer: yaxunl.
Anastasia added a subscriber: cfe-commits.

- Accept NULL pointer as a valid parameter value for clk_event
- Generate clk_events_t arguments of internal  __enqueue_kernel_XXX function to be pointers in generic address space


https://reviews.llvm.org/D26507

Files:
  lib/CodeGen/CGBuiltin.cpp
  lib/Sema/SemaChecking.cpp
  test/CodeGenOpenCL/cl20-device-side-enqueue.cl
  test/SemaOpenCL/cl20-device-side-enqueue.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26507.77489.patch
Type: text/x-patch
Size: 10165 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161110/45d37e42/attachment.bin>


More information about the cfe-commits mailing list