alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::detail::TaskSetCpu< DimInt< 0u >, TView, TExtent > Struct Template Reference

The CPU device scalar memory set task. More...

#include <Set.hpp>

Public Types

using DstSize = Idx< TView >
 
using Elem = alpaka::Elem< TView >
 
using ExtentSize = Idx< TExtent >
 
using Scalar = Vec< DimInt< 0u >, ExtentSize >
 

Public Member Functions

template<typename TViewFwd >
 TaskSetCpu (TViewFwd &&view, std::uint8_t const &byte, [[maybe_unused]] TExtent const &extent)
 
ALPAKA_FN_HOST auto operator() () const noexcept(ALPAKA_DEBUG< ALPAKA_DEBUG_FULL) -> void
 
ALPAKA_FN_HOST auto printDebug () const -> void
 

Public Attributes

std::uint8_t const m_byte
 
std::uint8_t *const m_dstMemNative
 

Detailed Description

template<typename TView, typename TExtent>
struct alpaka::detail::TaskSetCpu< DimInt< 0u >, TView, TExtent >

The CPU device scalar memory set task.

Definition at line 129 of file Set.hpp.

Member Typedef Documentation

◆ DstSize

template<typename TView , typename TExtent >
using alpaka::detail::TaskSetCpu< DimInt< 0u >, TView, TExtent >::DstSize = Idx<TView>

Definition at line 133 of file Set.hpp.

◆ Elem

template<typename TView , typename TExtent >
using alpaka::detail::TaskSetCpu< DimInt< 0u >, TView, TExtent >::Elem = alpaka::Elem<TView>

Definition at line 134 of file Set.hpp.

◆ ExtentSize

template<typename TView , typename TExtent >
using alpaka::detail::TaskSetCpu< DimInt< 0u >, TView, TExtent >::ExtentSize = Idx<TExtent>

Definition at line 131 of file Set.hpp.

◆ Scalar

template<typename TView , typename TExtent >
using alpaka::detail::TaskSetCpu< DimInt< 0u >, TView, TExtent >::Scalar = Vec<DimInt<0u>, ExtentSize>

Definition at line 132 of file Set.hpp.

Constructor & Destructor Documentation

◆ TaskSetCpu()

template<typename TView , typename TExtent >
template<typename TViewFwd >
alpaka::detail::TaskSetCpu< DimInt< 0u >, TView, TExtent >::TaskSetCpu ( TViewFwd &&  view,
std::uint8_t const &  byte,
[[maybe_unused] ] TExtent const &  extent 
)
inline

Definition at line 137 of file Set.hpp.

Member Function Documentation

◆ operator()()

template<typename TView , typename TExtent >
ALPAKA_FN_HOST auto alpaka::detail::TaskSetCpu< DimInt< 0u >, TView, TExtent >::operator() ( ) const -> void
inlinenoexcept

Definition at line 155 of file Set.hpp.

◆ printDebug()

template<typename TView , typename TExtent >
ALPAKA_FN_HOST auto alpaka::detail::TaskSetCpu< DimInt< 0u >, TView, TExtent >::printDebug ( ) const -> void
inline

Definition at line 147 of file Set.hpp.

Member Data Documentation

◆ m_byte

template<typename TView , typename TExtent >
std::uint8_t const alpaka::detail::TaskSetCpu< DimInt< 0u >, TView, TExtent >::m_byte

Definition at line 165 of file Set.hpp.

◆ m_dstMemNative

template<typename TView , typename TExtent >
std::uint8_t* const alpaka::detail::TaskSetCpu< DimInt< 0u >, TView, TExtent >::m_dstMemNative

Definition at line 166 of file Set.hpp.


The documentation for this struct was generated from the following file: