alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent > Struct Template Reference

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

#include <Copy.hpp>

+ Inheritance diagram for alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent >:

Public Types

using DstSize = Idx< TViewDst >
 
using Elem = alpaka::Elem< TViewSrc >
 
using ExtentSize = Idx< TExtent >
 
using SrcSize = Idx< TViewSrc >
 

Public Member Functions

template<typename TViewFwd >
 TaskCopyCpuBase (TViewFwd &&viewDst, TViewSrc const &viewSrc, TExtent const &extent)
 
ALPAKA_FN_HOST auto printDebug () const -> void
 

Public Attributes

Vec< TDim, DstSize > const m_dstExtent
 
std::uint8_t *const m_dstMemNative
 
Vec< TDim, DstSize > const m_dstPitchBytes
 
Vec< TDim, ExtentSize > const m_extent
 
ExtentSize const m_extentWidthBytes
 
Vec< TDim, SrcSize > const m_srcExtent
 
std::uint8_t const *const m_srcMemNative
 
Vec< TDim, SrcSize > const m_srcPitchBytes
 

Detailed Description

template<typename TDim, typename TViewDst, typename TViewSrc, typename TExtent>
struct alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent >

The CPU device memory copy task base.

Copies from CPU memory into CPU memory.

Definition at line 30 of file Copy.hpp.

Member Typedef Documentation

◆ DstSize

template<typename TDim , typename TViewDst , typename TViewSrc , typename TExtent >
using alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent >::DstSize = Idx<TViewDst>

Definition at line 35 of file Copy.hpp.

◆ Elem

template<typename TDim , typename TViewDst , typename TViewSrc , typename TExtent >
using alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent >::Elem = alpaka::Elem<TViewSrc>

Definition at line 37 of file Copy.hpp.

◆ ExtentSize

template<typename TDim , typename TViewDst , typename TViewSrc , typename TExtent >
using alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent >::ExtentSize = Idx<TExtent>

Definition at line 34 of file Copy.hpp.

◆ SrcSize

template<typename TDim , typename TViewDst , typename TViewSrc , typename TExtent >
using alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent >::SrcSize = Idx<TViewSrc>

Definition at line 36 of file Copy.hpp.

Constructor & Destructor Documentation

◆ TaskCopyCpuBase()

template<typename TDim , typename TViewDst , typename TViewSrc , typename TExtent >
template<typename TViewFwd >
alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent >::TaskCopyCpuBase ( TViewFwd &&  viewDst,
TViewSrc const &  viewSrc,
TExtent const &  extent 
)
inline

Definition at line 40 of file Copy.hpp.

Member Function Documentation

◆ printDebug()

template<typename TDim , typename TViewDst , typename TViewSrc , typename TExtent >
ALPAKA_FN_HOST auto alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent >::printDebug ( ) const -> void
inline

Definition at line 65 of file Copy.hpp.

Member Data Documentation

◆ m_dstExtent

template<typename TDim , typename TViewDst , typename TViewSrc , typename TExtent >
Vec<TDim, DstSize> const alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent >::m_dstExtent

Definition at line 78 of file Copy.hpp.

◆ m_dstMemNative

template<typename TDim , typename TViewDst , typename TViewSrc , typename TExtent >
std::uint8_t* const alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent >::m_dstMemNative

Definition at line 84 of file Copy.hpp.

◆ m_dstPitchBytes

template<typename TDim , typename TViewDst , typename TViewSrc , typename TExtent >
Vec<TDim, DstSize> const alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent >::m_dstPitchBytes

Definition at line 81 of file Copy.hpp.

◆ m_extent

template<typename TDim , typename TViewDst , typename TViewSrc , typename TExtent >
Vec<TDim, ExtentSize> const alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent >::m_extent

Definition at line 75 of file Copy.hpp.

◆ m_extentWidthBytes

template<typename TDim , typename TViewDst , typename TViewSrc , typename TExtent >
ExtentSize const alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent >::m_extentWidthBytes

Definition at line 76 of file Copy.hpp.

◆ m_srcExtent

template<typename TDim , typename TViewDst , typename TViewSrc , typename TExtent >
Vec<TDim, SrcSize> const alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent >::m_srcExtent

Definition at line 79 of file Copy.hpp.

◆ m_srcMemNative

template<typename TDim , typename TViewDst , typename TViewSrc , typename TExtent >
std::uint8_t const* const alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent >::m_srcMemNative

Definition at line 85 of file Copy.hpp.

◆ m_srcPitchBytes

template<typename TDim , typename TViewDst , typename TViewSrc , typename TExtent >
Vec<TDim, SrcSize> const alpaka::detail::TaskCopyCpuBase< TDim, TViewDst, TViewSrc, TExtent >::m_srcPitchBytes

Definition at line 82 of file Copy.hpp.


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