alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::detail::TaskCopyCpu< DimInt< 0u >, TViewDst, TViewSrc, TExtent > Struct Template Reference

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

#include <Copy.hpp>

Public Types

using Elem = alpaka::Elem< TViewSrc >
 

Public Member Functions

template<typename TViewDstFwd >
 TaskCopyCpu (TViewDstFwd &&viewDst, TViewSrc const &viewSrc, [[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_dstMemNative
 
std::uint8_t const *const m_srcMemNative
 

Detailed Description

template<typename TViewDst, typename TViewSrc, typename TExtent>
struct alpaka::detail::TaskCopyCpu< DimInt< 0u >, TViewDst, TViewSrc, TExtent >

The CPU device scalar memory copy task.

Copies from CPU memory into CPU memory.

Definition at line 157 of file Copy.hpp.

Member Typedef Documentation

◆ Elem

template<typename TViewDst , typename TViewSrc , typename TExtent >
using alpaka::detail::TaskCopyCpu< DimInt< 0u >, TViewDst, TViewSrc, TExtent >::Elem = alpaka::Elem<TViewSrc>

Definition at line 159 of file Copy.hpp.

Constructor & Destructor Documentation

◆ TaskCopyCpu()

template<typename TViewDst , typename TViewSrc , typename TExtent >
template<typename TViewDstFwd >
alpaka::detail::TaskCopyCpu< DimInt< 0u >, TViewDst, TViewSrc, TExtent >::TaskCopyCpu ( TViewDstFwd &&  viewDst,
TViewSrc const &  viewSrc,
[[maybe_unused] ] TExtent const &  extent 
)
inline

Definition at line 162 of file Copy.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 183 of file Copy.hpp.

◆ printDebug()

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

Definition at line 173 of file Copy.hpp.

Member Data Documentation

◆ m_dstMemNative

template<typename TViewDst , typename TViewSrc , typename TExtent >
std::uint8_t* const alpaka::detail::TaskCopyCpu< DimInt< 0u >, TViewDst, TViewSrc, TExtent >::m_dstMemNative

Definition at line 196 of file Copy.hpp.

◆ m_srcMemNative

template<typename TViewDst , typename TViewSrc , typename TExtent >
std::uint8_t const* const alpaka::detail::TaskCopyCpu< DimInt< 0u >, TViewDst, TViewSrc, TExtent >::m_srcMemNative

Definition at line 197 of file Copy.hpp.


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