walberla::lbm::CombinedInPlaceGpuPackInfo< EvenPackInfo, OddPackInfo > Class Template Reference

#include <CombinedInPlaceGpuPackInfo.h>

+ Inheritance diagram for walberla::lbm::CombinedInPlaceGpuPackInfo< EvenPackInfo, OddPackInfo >:

Public Member Functions

template<typename... Args>
 CombinedInPlaceGpuPackInfo (std::shared_ptr< lbm::TimestepTracker > &tracker, Args &&... args)
 
virtual ~CombinedInPlaceGpuPackInfo ()=default
 
void pack (stencil::Direction dir, unsigned char *buffer, IBlock *block, gpuStream_t stream) override
 
void unpack (stencil::Direction dir, unsigned char *buffer, IBlock *block, gpuStream_t stream) override
 
uint_t size (stencil::Direction dir, IBlock *block) override
 
- Public Member Functions inherited from walberla::gpu::GeneratedGPUPackInfo
 GeneratedGPUPackInfo ()=default
 
virtual ~GeneratedGPUPackInfo ()=default
 
virtual void communicateLocal (stencil::Direction dir, const IBlock *sender, IBlock *receiver, gpuStream_t stream)=0
 

Private Attributes

const std::shared_ptr< lbm::TimestepTracker > & tracker_
 
EvenPackInfo evenPackInfo_
 
OddPackInfo oddPackInfo_
 

Constructor & Destructor Documentation

◆ CombinedInPlaceGpuPackInfo()

template<typename EvenPackInfo , typename OddPackInfo >
template<typename... Args>
walberla::lbm::CombinedInPlaceGpuPackInfo< EvenPackInfo, OddPackInfo >::CombinedInPlaceGpuPackInfo ( std::shared_ptr< lbm::TimestepTracker > &  tracker,
Args &&...  args 
)
inline

◆ ~CombinedInPlaceGpuPackInfo()

template<typename EvenPackInfo , typename OddPackInfo >
virtual walberla::lbm::CombinedInPlaceGpuPackInfo< EvenPackInfo, OddPackInfo >::~CombinedInPlaceGpuPackInfo ( )
virtualdefault

Member Function Documentation

◆ pack()

template<typename EvenPackInfo , typename OddPackInfo >
void walberla::lbm::CombinedInPlaceGpuPackInfo< EvenPackInfo, OddPackInfo >::pack ( stencil::Direction  dir,
unsigned char *  buffer,
IBlock block,
gpuStream_t  stream 
)
inlineoverridevirtual

◆ size()

template<typename EvenPackInfo , typename OddPackInfo >
uint_t walberla::lbm::CombinedInPlaceGpuPackInfo< EvenPackInfo, OddPackInfo >::size ( stencil::Direction  dir,
IBlock block 
)
inlineoverridevirtual

◆ unpack()

template<typename EvenPackInfo , typename OddPackInfo >
void walberla::lbm::CombinedInPlaceGpuPackInfo< EvenPackInfo, OddPackInfo >::unpack ( stencil::Direction  dir,
unsigned char *  buffer,
IBlock block,
gpuStream_t  stream 
)
inlineoverridevirtual

Member Data Documentation

◆ evenPackInfo_

template<typename EvenPackInfo , typename OddPackInfo >
EvenPackInfo walberla::lbm::CombinedInPlaceGpuPackInfo< EvenPackInfo, OddPackInfo >::evenPackInfo_
private

◆ oddPackInfo_

template<typename EvenPackInfo , typename OddPackInfo >
OddPackInfo walberla::lbm::CombinedInPlaceGpuPackInfo< EvenPackInfo, OddPackInfo >::oddPackInfo_
private

◆ tracker_

template<typename EvenPackInfo , typename OddPackInfo >
const std::shared_ptr< lbm::TimestepTracker >& walberla::lbm::CombinedInPlaceGpuPackInfo< EvenPackInfo, OddPackInfo >::tracker_
private

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