DPC++ Runtime
Runtime libraries for oneAPI DPC++
reduction_properties.hpp
Go to the documentation of this file.
1 //==------- reduction_properties.hpp --- SYCL reduction properties ---------==//
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 
11 #include <sycl/context.hpp>
14 
15 namespace sycl {
17 namespace property {
18 namespace reduction {
20  : public detail::DataLessProperty<detail::InitializeToIdentity> {};
21 } // namespace reduction
22 } // namespace property
23 
24 // Reduction property trait specializations
25 } // __SYCL_INLINE_VER_NAMESPACE(_V1)
26 } // namespace sycl
#define __SYCL_INLINE_VER_NAMESPACE(X)
auto reduction(buffer< T, 1, AllocatorT > Var, handler &CGH, BinaryOperation, const property_list &PropList={})
Constructs a reduction object using the given buffer Var, handler CGH, reduction operation Combiner,...
Definition: reduction.hpp:2421
---— Error handling, matching OpenCL plugin semantics.
Definition: access.hpp:14