walberla::cuda::internal Namespace Reference

Classes

class  AddToStorageExporter
 
class  CreateFieldExporter
 
struct  GpuFieldExporter
 

Functions

template<typename GPUField_T >
GPUField_T * createGPUField (const IBlock *const block, const StructuredBlockStorage *const bs, uint_t ghostLayers, uint_t fSize, const field::Layout &layout, bool usePitchedMem)
 
template<typename Field_T >
GPUField< typename Field_T::value_type > * createGPUFieldFromCPUField (const IBlock *const block, const StructuredBlockStorage *const, ConstBlockDataID cpuFieldID, bool usePitchedMem)
 
template<typename GpuField_T >
uint64_t gpufield_ptr (const GpuField_T &gpuField)
 
template<typename GpuField_T >
std::string gpufield_dtypeStr (const GpuField_T &)
 
template<typename GpuFields >
boost::python::object createPythonGpuField (boost::python::list size, boost::python::object type, uint_t ghostLayers, Layout layout, bool usePitchedMem)
 
template<typename GpuFields >
void addToStorage (const shared_ptr< StructuredBlockStorage > &blocks, const std::string &name, boost::python::object type, uint_t fs, uint_t gl, Layout layout, bool usePitchedMem)
 
template<typename GPUField_T >
boost::python::object createGPUPackInfoToObject (BlockDataID bdId, uint_t numberOfGhostLayers)
 
 FunctionExporterClass (createGPUPackInfoToObject, boost::python::object(BlockDataID, uint_t))
 
template<typename GpuFields >
boost::python::object createPackInfo (const shared_ptr< StructuredBlockStorage > &bs, const std::string &blockDataName, uint_t numberOfGhostLayers)
 
template<typename GpuField_T >
boost::python::object createMPIDatatypeInfoToObject (BlockDataID bdId, uint_t numberOfGhostLayers)
 
 FunctionExporterClass (createMPIDatatypeInfoToObject, boost::python::object(BlockDataID, uint_t))
 
template<typename GpuFields >
boost::python::object createMPIDatatypeInfo (const shared_ptr< StructuredBlockStorage > &bs, const std::string &blockDataName, uint_t numberOfGhostLayers)
 
template<typename Field_T >
void copyFieldToGpuDispatch (const shared_ptr< StructuredBlockStorage > &bs, BlockDataID cpuFieldId, BlockDataID gpuFieldId, bool toGpu)
 
 FunctionExporterClass (copyFieldToGpuDispatch, void(const shared_ptr< StructuredBlockStorage > &, BlockDataID, BlockDataID, bool))
 
template<typename FieldTypes >
void transferFields (const shared_ptr< StructuredBlockStorage > &bs, const std::string &gpuFieldId, const std::string &cpuFieldId, bool toGpu)
 
template<typename FieldTypes >
void copyFieldToGpu (const shared_ptr< StructuredBlockStorage > &bs, const std::string &gpuFieldId, const std::string &cpuFieldId)
 
template<typename FieldTypes >
void copyFieldToCpu (const shared_ptr< StructuredBlockStorage > &bs, const std::string &gpuFieldId, const std::string &cpuFieldId)
 

Function Documentation

template<typename GpuFields >
void walberla::cuda::internal::addToStorage ( const shared_ptr< StructuredBlockStorage > &  blocks,
const std::string &  name,
boost::python::object  type,
uint_t  fs,
uint_t  gl,
Layout  layout,
bool  usePitchedMem 
)
template<typename FieldTypes >
void walberla::cuda::internal::copyFieldToCpu ( const shared_ptr< StructuredBlockStorage > &  bs,
const std::string &  gpuFieldId,
const std::string &  cpuFieldId 
)
template<typename FieldTypes >
void walberla::cuda::internal::copyFieldToGpu ( const shared_ptr< StructuredBlockStorage > &  bs,
const std::string &  gpuFieldId,
const std::string &  cpuFieldId 
)
template<typename Field_T >
void walberla::cuda::internal::copyFieldToGpuDispatch ( const shared_ptr< StructuredBlockStorage > &  bs,
BlockDataID  cpuFieldId,
BlockDataID  gpuFieldId,
bool  toGpu 
)
template<typename GPUField_T >
GPUField_T* walberla::cuda::internal::createGPUField ( const IBlock *const  block,
const StructuredBlockStorage *const  bs,
uint_t  ghostLayers,
uint_t  fSize,
const field::Layout layout,
bool  usePitchedMem 
)
template<typename Field_T >
GPUField< typename Field_T::value_type>* walberla::cuda::internal::createGPUFieldFromCPUField ( const IBlock *const  block,
const StructuredBlockStorage *  const,
ConstBlockDataID  cpuFieldID,
bool  usePitchedMem 
)
template<typename GPUField_T >
boost::python::object walberla::cuda::internal::createGPUPackInfoToObject ( BlockDataID  bdId,
uint_t  numberOfGhostLayers 
)
template<typename GpuFields >
boost::python::object walberla::cuda::internal::createMPIDatatypeInfo ( const shared_ptr< StructuredBlockStorage > &  bs,
const std::string &  blockDataName,
uint_t  numberOfGhostLayers 
)
template<typename GpuField_T >
boost::python::object walberla::cuda::internal::createMPIDatatypeInfoToObject ( BlockDataID  bdId,
uint_t  numberOfGhostLayers 
)
template<typename GpuFields >
boost::python::object walberla::cuda::internal::createPackInfo ( const shared_ptr< StructuredBlockStorage > &  bs,
const std::string &  blockDataName,
uint_t  numberOfGhostLayers 
)
template<typename GpuFields >
boost::python::object walberla::cuda::internal::createPythonGpuField ( boost::python::list  size,
boost::python::object  type,
uint_t  ghostLayers,
Layout  layout,
bool  usePitchedMem 
)
walberla::cuda::internal::FunctionExporterClass ( createGPUPackInfoToObject  ,
boost::python::object(BlockDataID, uint_t  
)
walberla::cuda::internal::FunctionExporterClass ( createMPIDatatypeInfoToObject  ,
boost::python::object(BlockDataID, uint_t  
)
walberla::cuda::internal::FunctionExporterClass ( copyFieldToGpuDispatch  ,
void(const shared_ptr< StructuredBlockStorage > &, BlockDataID, BlockDataID, bool)   
)
template<typename GpuField_T >
std::string walberla::cuda::internal::gpufield_dtypeStr ( const GpuField_T &  )
template<typename GpuField_T >
uint64_t walberla::cuda::internal::gpufield_ptr ( const GpuField_T &  gpuField)
template<typename FieldTypes >
void walberla::cuda::internal::transferFields ( const shared_ptr< StructuredBlockStorage > &  bs,
const std::string &  gpuFieldId,
const std::string &  cpuFieldId,
bool  toGpu 
)