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 {
15
namespace
property::reduction
{
16
class
initialize_to_identity
17
:
public
detail::DataLessProperty
<detail::InitializeToIdentity> {};
18
}
// namespace property::reduction
19
20
// Reduction property trait specializations
21
}
// namespace _V1
22
}
// namespace sycl
sycl::_V1::detail::DataLessProperty
Definition:
property_helper.hpp:77
sycl::_V1::property::reduction::initialize_to_identity
Definition:
reduction_properties.hpp:17
sycl::_V1::reduction
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
sycl
Definition:
access.hpp:18
property_helper.hpp
include
sycl
properties
reduction_properties.hpp
Generated by
1.9.1