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/detail/property_helper.hpp> // for DataLessPropKind, DataLes...
12 
13 namespace sycl {
14 inline namespace _V1 {
17  : public detail::DataLessProperty<detail::InitializeToIdentity> {};
18 } // namespace property::reduction
19 
20 // Reduction property trait specializations
21 } // namespace _V1
22 } // namespace sycl
auto reduction(buffer< T, 1, AllocatorT > Var, handler &CGH, BinaryOperation Combiner, const property_list &PropList={})
Constructs a reduction object using the given buffer Var, handler CGH, reduction operation Combiner,...
Definition: reduction.hpp:2837
Definition: access.hpp:18