DPC++ Runtime
Runtime libraries for oneAPI DPC++
scheduler_helpers.hpp
Go to the documentation of this file.
1 //==---------- scheduler_helpers.hpp - SYCL standard header file -----------==//
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 #pragma once
10 
12 
13 #include <memory>
14 
15 namespace sycl {
17 namespace detail {
18 
19 class stream_impl;
20 class queue_impl;
21 
22 using StreamImplPtr = std::shared_ptr<detail::stream_impl>;
23 using QueueImplPtr = std::shared_ptr<detail::queue_impl>;
24 
25 void initStream(StreamImplPtr Stream, QueueImplPtr Queue);
26 
27 } // namespace detail
28 } // __SYCL_INLINE_VER_NAMESPACE(_V1)
29 } // namespace sycl
#define __SYCL_INLINE_VER_NAMESPACE(X)
void initStream(StreamImplPtr Stream, QueueImplPtr Queue)
std::shared_ptr< detail::stream_impl > StreamImplPtr
Definition: commands.hpp:38
std::shared_ptr< sycl::detail::queue_impl > QueueImplPtr
Definition: event_impl.hpp:32
---— Error handling, matching OpenCL plugin semantics.
Definition: access.hpp:14