kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Tests::Utils::Functors::Increment< ViewType, MayThrow, Atomic > Struct Template Reference

Increment data. More...

#include <increment.hpp>

Public Member Functions

void operator() () const noexcept(!MayThrow)
void operator() () const noexcept(!MayThrow)

Public Attributes

ViewType::non_const_type data

Detailed Description

template<Kokkos::utils::concepts::ViewOfRank< 0 > ViewType, bool MayThrow = true, bool Atomic = false>
struct Tests::Utils::Functors::Increment< ViewType, MayThrow, Atomic >

Increment data.

Definition at line 18 of file increment.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<Kokkos::utils::concepts::ViewOfRank< 0 > ViewType, bool MayThrow = true, bool Atomic = false>
void Tests::Utils::Functors::Increment< ViewType, MayThrow, Atomic >::operator() ( ) const
inlinenoexcept

Definition at line 28 of file increment.hpp.

References Tests::Utils::atomic_add(), and data.

◆ operator()() [2/2]

template<Kokkos::utils::concepts::ViewOfRank< 0 > ViewType, bool MayThrow = true, bool Atomic = false>
void Tests::Utils::Functors::Increment< ViewType, MayThrow, Atomic >::operator() ( ) const
inlinenoexcept

Definition at line 22 of file increment.hpp.

References data.

Member Data Documentation

◆ data

template<Kokkos::utils::concepts::ViewOfRank< 0 > ViewType, bool MayThrow = true, bool Atomic = false>
ViewType::non_const_type Tests::Utils::Functors::Increment< ViewType, MayThrow, Atomic >::data

Definition at line 19 of file increment.hpp.


The documentation for this struct was generated from the following file:
  • /__w/kokkos-execution/kokkos-execution/tests/utils/functors/increment.hpp