peclet-dem 0.4.0
Performance-portable XPBD Discrete Element Method (Kokkos + ArborX)
Loading...
Searching...
No Matches
peclet::dem::FusedSweepCtx Struct Reference

Device-side context for a fused colour sweep: the colour offsets (numColors+1, uploaded from buildColorBucketsKokkos's host vector), the barrier counter, and the largest colour bucket (grid sizing). More...

#include <solver_fused.hpp>

Public Attributes

Kokkos::View< const int *, CpMemoffsDev
 
Kokkos::View< unsigned *, CpMembar
 
int maxBucket = 0
 

Detailed Description

Device-side context for a fused colour sweep: the colour offsets (numColors+1, uploaded from buildColorBucketsKokkos's host vector), the barrier counter, and the largest colour bucket (grid sizing).

maxBucket == 0 <=> inactive (fall back to per-colour launches).

Definition at line 36 of file solver_fused.hpp.

Member Data Documentation

◆ offsDev

Kokkos::View<const int*, CpMem> peclet::dem::FusedSweepCtx::offsDev

Definition at line 37 of file solver_fused.hpp.

Referenced by peclet::dem::demMakeFusedCtx().

◆ bar

Kokkos::View<unsigned*, CpMem> peclet::dem::FusedSweepCtx::bar

Definition at line 38 of file solver_fused.hpp.

Referenced by peclet::dem::demMakeFusedCtx().

◆ maxBucket

int peclet::dem::FusedSweepCtx::maxBucket = 0

Definition at line 39 of file solver_fused.hpp.

Referenced by peclet::dem::demMakeFusedCtx(), and peclet::dem::demSolveContacts().


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