Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website
Loading...
Searching...
No Matches
lanes.h File Reference

Execution of one cell's chemistry by one thread or by the vector lanes of a team: loops over species, reactions and matrix rows, and reductions in a fixed order. More...

#include <cstdint>
#include <Kokkos_Core.hpp>

Go to the source code of this file.

Classes

struct  chemistry::SerialLanes
 One thread does all the work of a cell. More...
 
struct  chemistry::TeamLanes< Member >
 All threads and vector lanes of a team (TeamPolicy(cells, T, V), T * V lanes) share the work of a cell. Scalar code runs on every lane with the same values; sums accumulate SUM_SHARES strided shares in index order and then the shares in order, so a team's results do not depend on its width. Needs scratch_bytes(T * V) of level-0 team scratch. More...
 

Namespaces

namespace  chemistry
 

Functions

template<bool ColumnMajor>
KOKKOS_INLINE_FUNCTION constexpr uint32_t chemistry::dense_index (const uint32_t n, const uint32_t r, const uint32_t c)
 Index of entry (r, c) of an n x n matrix stored by rows, or by columns.
 

Detailed Description

Execution of one cell's chemistry by one thread or by the vector lanes of a team: loops over species, reactions and matrix rows, and reductions in a fixed order.

Author
Matthew Bonanni (mbona.nosp@m.nni0.nosp@m.01@gm.nosp@m.ail..nosp@m.com)
Version
0.3
Date
2026-10-03