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 
16 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 } // namespace sycl
29 } // __SYCL_INLINE_NAMESPACE(cl)
defines_elementary.hpp
sycl
Definition: invoke_simd.hpp:68
cl::sycl::detail::StreamImplPtr
std::shared_ptr< detail::stream_impl > StreamImplPtr
Definition: commands.hpp:38
cl
We provide new interfaces for matrix muliply in this patch:
Definition: access.hpp:13
cl::sycl::detail::QueueImplPtr
std::shared_ptr< detail::queue_impl > QueueImplPtr
Definition: memory_manager.hpp:30
cl::sycl::detail::initStream
void initStream(StreamImplPtr Stream, QueueImplPtr Queue)
Definition: scheduler_helpers.cpp:19
__SYCL_INLINE_NAMESPACE
#define __SYCL_INLINE_NAMESPACE(X)
Definition: defines_elementary.hpp:12