VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
vf::gpu::RefinementAndExchange_streams_exchangeAllNodes Class Reference

Version of refinement: for multi-gpu simulations, with communication hiding ("streams"), exchange all nodes. More...

#include <RefinementStrategy.h>

Public Member Functions

void operator() (UpdateGrid27 *updateGrid, Parameter *para, int level)
 

Detailed Description

Version of refinement: for multi-gpu simulations, with communication hiding ("streams"), exchange all nodes.

Definition at line 59 of file RefinementStrategy.h.

Member Function Documentation

◆ operator()()

void vf::gpu::RefinementAndExchange_streams_exchangeAllNodes::operator() ( UpdateGrid27 updateGrid,
Parameter para,
int  level 
)

steps:

  1. interpolation fine to coarse for nodes which are at the border of the gpus/processes
  1. prepare the exchange between gpus (collect the send nodes for communication in a buffer on the gpu) and trigger bulk kernel execution when finished
  1. launch the bulk kernels for both interpolation processes (fine to coarse and coarse to fine)
  1. exchange information between GPUs (all nodes)

Definition at line 108 of file RefinementStrategy.cpp.


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