[PATCH] D23914: [OpenCL] Make is_valid_event overloadable.

Tyurin, Evgeniy via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 26 02:12:09 PDT 2016


etyurin created this revision.
etyurin added reviewers: yaxunl, bader.
etyurin added subscribers: cfe-commits, Anastasia.

Make is_valid_event overloadable like other built-ins.

https://reviews.llvm.org/D23914

Files:
  lib/Headers/opencl-c.h

Index: lib/Headers/opencl-c.h
===================================================================
--- lib/Headers/opencl-c.h
+++ lib/Headers/opencl-c.h
@@ -16733,7 +16733,7 @@
 
 void __ovld set_user_event_status(clk_event_t e, int state);
 
-bool is_valid_event (clk_event_t event);
+bool __ovld is_valid_event (clk_event_t event);
 
 void __ovld capture_event_profiling_info(clk_event_t, clk_profiling_info, __global void* value);
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23914.69328.patch
Type: text/x-patch
Size: 435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160826/e36a0795/attachment.bin>


More information about the cfe-commits mailing list