11 #ifndef __SYCL_DEVICE_ONLY
14 #ifdef __INTEL_PREVIEW_BREAKING_CHANGES
22 inline namespace _V1 {
33 static Sync &getInstance();
34 std::mutex GlobalLock;
52 constexpr
size_t Prime = 31;
56 for (; (Ch = *S); S++) {
57 Res += Ch + (Prime * Res);
66 return std::strcmp(A, B) == 0;
72 #ifdef __INTEL_PREVIEW_BREAKING_CHANGES
73 template <
typename T>
struct ABINeutralT {
using type = T; };
83 template <>
struct ABINeutralT<
std::vector<std::string>> {
84 using type = std::vector<detail::string>;
87 template <
typename T>
using ABINeutralT_t =
typename ABINeutralT<T>::type;
Groups and provides access to all the locks used the SYCL runtime.
static std::mutex & getGlobalLock()
Retuns a reference to the global lock.
std::vector< unsigned char > SerializedObj
bool operator()(const char *A, const char *B) const
size_t operator()(const char *S) const
TempAssignGuard(T &fld, T tempVal)