walberla::gpu::internal::copyFieldToGpuDispatchExporter Class Reference

#include <GPUExport.impl.h>

Public Member Functions

 copyFieldToGpuDispatchExporter (const shared_ptr< StructuredBlockForest > &blocks, BlockDataID gpuFieldId, BlockDataID cpuFieldId, bool toGPU)
 
template<typename CpuField_T >
void operator() (python_coupling::NonCopyableWrap< CpuField_T >)
 

Private Attributes

shared_ptr< StructuredBlockForestblocks_
 
BlockDataID gpuFieldId_
 
BlockDataID cpuFieldId_
 
bool toGPU_
 

Constructor & Destructor Documentation

◆ copyFieldToGpuDispatchExporter()

walberla::gpu::internal::copyFieldToGpuDispatchExporter::copyFieldToGpuDispatchExporter ( const shared_ptr< StructuredBlockForest > &  blocks,
BlockDataID  gpuFieldId,
BlockDataID  cpuFieldId,
bool  toGPU 
)
inline

Member Function Documentation

◆ operator()()

template<typename CpuField_T >
void walberla::gpu::internal::copyFieldToGpuDispatchExporter::operator() ( python_coupling::NonCopyableWrap< CpuField_T >  )
inline

Member Data Documentation

◆ blocks_

shared_ptr< StructuredBlockForest > walberla::gpu::internal::copyFieldToGpuDispatchExporter::blocks_
private

◆ cpuFieldId_

BlockDataID walberla::gpu::internal::copyFieldToGpuDispatchExporter::cpuFieldId_
private

◆ gpuFieldId_

BlockDataID walberla::gpu::internal::copyFieldToGpuDispatchExporter::gpuFieldId_
private

◆ toGPU_

bool walberla::gpu::internal::copyFieldToGpuDispatchExporter::toGPU_
private

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