//===-- util.cpp - Shared SYCL runtime utilities impl ----------*- C++ -*--===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include <detail/global_handler.hpp>
#include <sycl/detail/util.hpp>

namespace sycl {
inline namespace _V1 {
namespace detail {

Sync &Sync::getInstance() { return GlobalHandler::instance().getSync(); }

} // namespace detail
} // namespace _V1
} // namespace sycl
