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 
10 
11 #include <sycl/handler.hpp>
12 
13 namespace sycl {
15 namespace detail {
16 
18  access::target Target) {
19  CGH.associateWithHandler(Acc, Target);
20 }
21 
22 } // namespace detail
23 } // __SYCL_INLINE_VER_NAMESPACE(_V1)
24 } // namespace sycl
Command group handler class.
Definition: handler.hpp:310
#define __SYCL_INLINE_VER_NAMESPACE(X)
void associateWithHandler(handler &, AccessorBaseHost *, access::target)
---— Error handling, matching OpenCL plugin semantics.
Definition: access.hpp:14