kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Tests::Utils::Functors::Increment< ViewType, MayThrow, Atomic, MemoryScope > 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, typename MemoryScope = desul::MemoryScopeDevice>
struct Tests::Utils::Functors::Increment< ViewType, MayThrow, Atomic, MemoryScope >

Increment data.

Definition at line 23 of file increment.hpp.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 33 of file increment.hpp.

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

◆ operator()() [2/2]

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

Definition at line 27 of file increment.hpp.

References data.

Member Data Documentation

◆ data

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

Definition at line 24 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