DPC++ Runtime
Runtime libraries for oneAPI DPC++
handler_proxy.cpp
Go to the documentation of this file.
1
//==--------- handler_proxy.cpp - Proxy methods to call in handler ---------==//
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 <
sycl/detail/handler_proxy.hpp
>
10
11
#include <
sycl/handler.hpp
>
12
13
namespace
sycl
{
14
inline
namespace
_V1 {
15
namespace
detail {
16
17
void
associateWithHandler
(
handler
&CGH,
AccessorBaseHost
*Acc,
18
access::target
Target) {
19
CGH.associateWithHandler(Acc, Target);
20
}
21
22
void
associateWithHandler
(
handler
&CGH,
UnsampledImageAccessorBaseHost
*Acc,
23
image_target
Target) {
24
CGH.associateWithHandler(Acc, Target);
25
}
26
27
void
associateWithHandler
(
handler
&CGH,
SampledImageAccessorBaseHost
*Acc,
28
image_target
Target) {
29
CGH.associateWithHandler(Acc, Target);
30
}
31
32
}
// namespace detail
33
}
// namespace _V1
34
}
// namespace sycl
sycl::_V1::detail::AccessorBaseHost
Definition:
accessor.hpp:534
sycl::_V1::detail::SampledImageAccessorBaseHost
Definition:
accessor.hpp:708
sycl::_V1::detail::UnsampledImageAccessorBaseHost
Definition:
accessor.hpp:640
sycl::_V1::handler
Command group handler class.
Definition:
handler.hpp:458
handler.hpp
handler_proxy.hpp
sycl::_V1::access::target
target
Definition:
access.hpp:22
sycl::_V1::detail::associateWithHandler
void associateWithHandler(handler &, AccessorBaseHost *, access::target)
Definition:
handler_proxy.cpp:17
sycl::_V1::image_target
image_target
Definition:
access.hpp:74
sycl
Definition:
access.hpp:18
source
detail
handler_proxy.cpp
Generated by
1.9.1