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
9
#include <
detail/global_handler.hpp
>
10
#include <
sycl/detail/util.hpp
>
11
12
namespace
sycl
{
13
inline
namespace
_V1 {
14
namespace
detail {
15
16
Sync &Sync::getInstance() {
return
GlobalHandler::instance
().
getSync
(); }
17
18
}
// namespace detail
19
}
// namespace _V1
20
}
// namespace sycl
sycl::_V1::detail::GlobalHandler::instance
static GlobalHandler & instance()
Definition:
global_handler.cpp:123
sycl
Definition:
access.hpp:18
global_handler.hpp
sycl::_V1::detail::GlobalHandler::getSync
Sync & getSync()
Definition:
global_handler.cpp:188
util.hpp
source
detail
util.cpp
Generated by
1.8.17