EBGeometry
Compact, header-only C++ library for fast evaluation of signed distance functions
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
EBGeometry::GPU::AlgorithmsDetail::MergeChunks< T > Struct Template Reference

boundingBox(), pass 2: one thread merges the chunk boxes into chunk 0's. One thread is enough at the sizes the builds see (a few thousand chunks); a cloud near the 2^31-point limit would want a tree of merges. More...

#include <EBGeometry_GPUAlgorithms.hpp>

Public Member Functions

void operator() (std::size_t) const noexcept
 Merge every chunk's box.
 

Public Attributes

Vec3T< T > * m_corners
 Chunk corners, as ChunkBox wrote them.
 
uint32_t m_chunks
 Number of chunks.
 

Detailed Description

template<class T>
struct EBGeometry::GPU::AlgorithmsDetail::MergeChunks< T >

boundingBox(), pass 2: one thread merges the chunk boxes into chunk 0's. One thread is enough at the sizes the builds see (a few thousand chunks); a cloud near the 2^31-point limit would want a tree of merges.

Template Parameters
TPrecision.

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