Anastasia added inline comments.
================
Comment at: lib/Headers/opencl-c.h:16020
+// The macro CLK_NULL_RESERVE_ID refers to an invalid reservation ID.
+#define CLK_NULL_RESERVE_ID (__builtin_astype((void *)0, reserve_id_t))
 bool __ovld is_valid_reserve_id(reserve_id_t reserve_id);
----------------
Looks good from my side.

@yaxunl , since you originally committed this. Could you please verify that 
changing from `SIZE_MAX` to `0` would be fine.

Btw, we have a similar definition for `CLK_NULL_EVENT`.


https://reviews.llvm.org/D32896



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to