ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <StreamSweepDoublePrecisionCUDA.h>
Public Member Functions | |
StreamSweepDoublePrecisionCUDA (BlockDataID forceID_, BlockDataID pdfsID_, BlockDataID velocityID_) | |
~StreamSweepDoublePrecisionCUDA () | |
void | run (IBlock *block, gpuStream_t stream=nullptr) |
void | runOnCellInterval (const shared_ptr< StructuredBlockStorage > &blocks, const CellInterval &globalCellInterval, cell_idx_t ghostLayers, IBlock *block, gpuStream_t stream=nullptr) |
void | operator() (IBlock *block, gpuStream_t stream=nullptr) |
std::function< void(IBlock *)> | getSweep (gpuStream_t stream=nullptr) |
std::function< void(IBlock *)> | getSweepOnCellInterval (const shared_ptr< StructuredBlockStorage > &blocks, const CellInterval &globalCellInterval, cell_idx_t ghostLayers=1, gpuStream_t stream=nullptr) |
void | configure (const shared_ptr< StructuredBlockStorage > &blocks, IBlock *block) |
Static Public Member Functions | |
static std::function< void(IBlock *)> | getSweep (const shared_ptr< StreamSweepDoublePrecisionCUDA > &kernel) |
static std::function< void(IBlock *, gpuStream_t)> | getSweepOnCellInterval (const shared_ptr< StreamSweepDoublePrecisionCUDA > &kernel, const shared_ptr< StructuredBlockStorage > &blocks, const CellInterval &globalCellInterval, cell_idx_t ghostLayers=1) |
Public Attributes | |
BlockDataID | forceID |
BlockDataID | pdfsID |
BlockDataID | velocityID |
Definition at line 55 of file StreamSweepDoublePrecisionCUDA.h.
|
inline |
Definition at line 57 of file StreamSweepDoublePrecisionCUDA.h.
|
inline |
Definition at line 61 of file StreamSweepDoublePrecisionCUDA.h.
|
inline |
Definition at line 109 of file StreamSweepDoublePrecisionCUDA.h.
|
inlinestatic |
Definition at line 79 of file StreamSweepDoublePrecisionCUDA.h.
|
inline |
Definition at line 94 of file StreamSweepDoublePrecisionCUDA.h.
|
inlinestatic |
Definition at line 83 of file StreamSweepDoublePrecisionCUDA.h.
References stream.
|
inline |
Definition at line 99 of file StreamSweepDoublePrecisionCUDA.h.
References runOnCellInterval(), and stream.
|
inline |
Definition at line 74 of file StreamSweepDoublePrecisionCUDA.h.
void walberla::pystencils::StreamSweepDoublePrecisionCUDA::run | ( | IBlock * | block, |
gpuStream_t | stream = nullptr |
||
) |
Definition at line 109 of file StreamSweepDoublePrecisionCUDA.cu.
References block(), forceID, pdfsID, RESTRICT, velocity(), and velocityID.
Referenced by getSweep(), and operator()().
void walberla::pystencils::StreamSweepDoublePrecisionCUDA::runOnCellInterval | ( | const shared_ptr< StructuredBlockStorage > & | blocks, |
const CellInterval & | globalCellInterval, | ||
cell_idx_t | ghostLayers, | ||
IBlock * | block, | ||
gpuStream_t | stream = nullptr |
||
) |
Definition at line 169 of file StreamSweepDoublePrecisionCUDA.cu.
References block(), forceID, pdfsID, RESTRICT, velocity(), and velocityID.
Referenced by getSweepOnCellInterval().
BlockDataID walberla::pystencils::StreamSweepDoublePrecisionCUDA::forceID |
Definition at line 112 of file StreamSweepDoublePrecisionCUDA.h.
Referenced by run(), and runOnCellInterval().
BlockDataID walberla::pystencils::StreamSweepDoublePrecisionCUDA::pdfsID |
Definition at line 113 of file StreamSweepDoublePrecisionCUDA.h.
Referenced by run(), and runOnCellInterval().
BlockDataID walberla::pystencils::StreamSweepDoublePrecisionCUDA::velocityID |
Definition at line 114 of file StreamSweepDoublePrecisionCUDA.h.
Referenced by run(), and runOnCellInterval().