AddGPUFieldToStorage.impl.h File Reference

Detailed Description

#include "gpu/FieldCopy.h"

Namespaces

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 
 walberla::gpu
 
 walberla::gpu::internal
 

Functions

template<typename GPUField_T >
GPUField_T * walberla::gpu::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::gpu::internal::createGPUFieldFromCPUField (const IBlock *const block, const StructuredBlockStorage *const, ConstBlockDataID cpuFieldID, bool usePitchedMem)
 
template<typename GPUField_T >
BlockDataID walberla::gpu::addGPUFieldToStorage (const shared_ptr< StructuredBlockStorage > &bs, const std::string &identifier, uint_t fSize, const Layout layout=fzyx, uint_t nrOfGhostLayers=1, bool usePitchedMem=true)
 Adds a gpu::GPUField to a StructuredBlockStorage. More...
 
template<typename Field_T >
BlockDataID walberla::gpu::addGPUFieldToStorage (const shared_ptr< StructuredBlockStorage > &bs, ConstBlockDataID cpuFieldID, const std::string &identifier, bool usePitchedMem=true)
 Adds a gpu::GPUField to a StructuredBlockStorage using data from a CPU field. More...