flow 1.4.0
Kokkos cut-cell IBM incompressible Navier-Stokes solver + pnm pore extraction
Loading...
Searching...
No Matches
bench_rbgs.cpp File Reference
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <Kokkos_Core.hpp>
#include <vector>
#include "mac_cutcell_mg.hpp"
#include "mac_stencils.hpp"

Go to the source code of this file.

Classes

struct  p0bench::Stat

Namespaces

namespace  p0bench

Typedefs

using p0bench::VReal = float
using p0bench::FV = Kokkos::View<VReal*, pf::CCMem>
using p0bench::FVC = Kokkos::View<const VReal*, pf::CCMem>

Functions

int p0bench::runRbgs (int N, int K)
template<class Exec = pf::CCExec>
void p0bench::smoothPeeledFp64 (pf::CCField phi, pf::CCConst b, pf::FPC AC, pf::FPC AFX, pf::FPC AFY, pf::FPC AFZ, pf::C3 e, pf::C3 n, pf::C3 og, int g, int color)
template<class Exec = pf::CCExec>
void p0bench::checkPeeled (pf::CCField xa, pf::CCField xb, pf::CCConst b, pf::FPC AC, pf::FPC AFX, pf::FPC AFY, pf::FPC AFZ, pf::C3 e, pf::C3 n, pf::C3 og, int g)
template<class XV, class BV, class WV>
void p0bench::smoothLiteCell (const XV &x, const BV &b, const WV &WX, const WV &WY, const WV &WZ, long i, long sx, long sy, long sz, const pf::CcNbrs &w)
template<class XV, class BV, class WV>
void p0bench::smoothFp32Cell (const XV &x, const BV &b, const WV &WX, const WV &WY, const WV &WZ, long i, long sx, long sy, long sz, const pf::CcNbrs &w)
template<bool Fp32, class XV, class BV, class WV>
void p0bench::fluxCell (const XV &x, const BV &b, const WV &WX, const WV &WY, const WV &WZ, long i, long sx, long sy, long sz, const pf::CcNbrs &w)
template<bool Fp32, class XV, class BV>
void p0bench::smoothFluxPass (XV x, BV b, FVC WX, FVC WY, FVC WZ, pf::C3 e, pf::C3 n, pf::C3 og, int g, int color)
void p0bench::loadavg (const char *tag)
Stat p0bench::stats (std::vector< double > v)
int p0bench::runP0 (int rounds, int passes)
int p0bench::runC0 (int rounds, int launches)
int main (int argc, char **argv)

Variables

constexpr bool p0bench::kHost = std::is_same_v<pf::CCMem, Kokkos::HostSpace>

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 468 of file bench_rbgs.cpp.

References p0bench::runC0(), p0bench::runP0(), and p0bench::runRbgs().