DPC++ Runtime
Runtime libraries for oneAPI DPC++
util.cpp
Go to the documentation of this file.
1 //===-- util.cpp - Shared SYCL runtime utilities impl ----------*- C++ -*--===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
11 
13 namespace sycl {
14 namespace detail {
15 
16 Sync &Sync::getInstance() { return GlobalHandler::instance().getSync(); }
17 
18 } // namespace detail
19 } // namespace sycl
20 } // __SYCL_INLINE_NAMESPACE(cl)
sycl
Definition: invoke_simd.hpp:68
util.hpp
cl
We provide new interfaces for matrix muliply in this patch:
Definition: access.hpp:13
global_handler.hpp
__SYCL_INLINE_NAMESPACE
#define __SYCL_INLINE_NAMESPACE(X)
Definition: defines_elementary.hpp:12