#include <CombinedInPlaceGpuPackInfo.h>
|
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 |
| Pack data from a block into a send buffer.
|
|
void | unpack (stencil::Direction dir, unsigned char *buffer, IBlock *block, gpuStream_t stream) override |
| Unpack data from a receive buffer into a block.
|
|
uint_t | size (stencil::Direction dir, IBlock *block) override |
|
| GeneratedGPUPackInfo ()=default |
|
virtual | ~GeneratedGPUPackInfo ()=default |
|
virtual void | communicateLocal (stencil::Direction dir, const IBlock *sender, IBlock *receiver, gpuStream_t stream)=0 |
| Copy data from one local block to another local block.
|
|
◆ CombinedInPlaceGpuPackInfo()
template<typename EvenPackInfo , typename OddPackInfo >
template<typename... Args>
◆ ~CombinedInPlaceGpuPackInfo()
template<typename EvenPackInfo , typename OddPackInfo >
◆ pack()
template<typename EvenPackInfo , typename OddPackInfo >
Pack data from a block into a send buffer.
- Parameters
-
dir | pack data for neighbor in this direction |
buffer | buffer for writing the data into |
block | the block whose data should be packed into a buffer |
stream | GPU stream |
Implements walberla::gpu::GeneratedGPUPackInfo.
◆ size()
template<typename EvenPackInfo , typename OddPackInfo >
◆ unpack()
template<typename EvenPackInfo , typename OddPackInfo >
Unpack data from a receive buffer into a block.
- Parameters
-
dir | receive data from neighbor in this direction |
buffer | buffer for reading the data from |
block | the block where the unpacked data should be stored into |
stream | GPU stream |
Implements walberla::gpu::GeneratedGPUPackInfo.
◆ evenPackInfo_
template<typename EvenPackInfo , typename OddPackInfo >
◆ oddPackInfo_
template<typename EvenPackInfo , typename OddPackInfo >
◆ tracker_
template<typename EvenPackInfo , typename OddPackInfo >
The documentation for this class was generated from the following file: