summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Savonichev <andrew.savonichev@intel.com>2018-10-23 17:05:29 +0000
committerAndrew Savonichev <andrew.savonichev@intel.com>2018-10-23 17:05:29 +0000
commit70b6bbe2bb7d795ab1a81226887d966c811cd72c (patch)
treed0ef548fb3124f9af20435f26d244a136fda288b
parent95790c546fc92ee179ee60b2f479892165873d7d (diff)
downloadbcm5719-llvm-70b6bbe2bb7d795ab1a81226887d966c811cd72c.tar.gz
bcm5719-llvm-70b6bbe2bb7d795ab1a81226887d966c811cd72c.zip
[OpenCL] Remove PIPE_RESERVE_ID_VALID_BIT from opencl-c.h
Summary: PIPE_RESERVE_ID_VALID_BIT is implementation defined, so lets not keep it in the header. Previously the topic was discussed here: https://reviews.llvm.org/D32896 Reviewers: Anastasia, yaxunl Reviewed By: Anastasia Subscribers: cfe-commits, asavonic, bader Differential Revision: https://reviews.llvm.org/D52658 llvm-svn: 345051
-rw-r--r--clang/lib/Headers/opencl-c.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Headers/opencl-c.h b/clang/lib/Headers/opencl-c.h
index 982db65eaad..383f658226f 100644
--- a/clang/lib/Headers/opencl-c.h
+++ b/clang/lib/Headers/opencl-c.h
@@ -15715,7 +15715,6 @@ double __ovld __conv work_group_scan_inclusive_max(double x);
// OpenCL v2.0 s6.13.16 - Pipe Functions
#if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
-#define PIPE_RESERVE_ID_VALID_BIT (1U << 30)
#define CLK_NULL_RESERVE_ID (__builtin_astype(((void*)(__SIZE_MAX__)), reserve_id_t))
bool __ovld is_valid_reserve_id(reserve_id_t reserve_id);
#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
OpenPOWER on IntegriCloud