Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Kokkos::ParallelReduceTag

David Poliakoff edited this page May 1, 2020 · 2 revisions

Kokkos::ParallelReduceTag

Header File: Kokkos_ExecPolicy.hpp

A tag used in team size calculation functions to indicate that the functor for which a team size is being requested is being used in a parallel_reduce

Usage:

using PolicyType = Kokkos::TeamPolicy<>; 
PolicyType policy;
int recommended_team_size = policy.team_size_recommended(
    Functor, Kokkos::ParallelReduceTag());

Synopsis

struct ParallelReduceTag{};

Public Class Members

None

Typedefs

None

Constructors

Default

Functions

None

Clone this wiki locally