SHAFFT 1.1.0-alpha
A Scalable High-dimensional Accelerated FFT Library
Loading...
Searching...
No Matches
shafft_nd_layout_t Struct Reference

N-D layout state (initial or output). More...

#include <shafft.h>

Public Attributes

size_t * subsize
 
size_t * offset
 
size_t localElements
 
int hasLocalElements
 
int * contiguousAxes
 
int * distributedAxes
 

Detailed Description

Contains per-axis arrays describing the local block for one layout state. All pointer fields are config-owned and populated by resolve.

Member Data Documentation

◆ subsize

size_t* shafft_nd_layout_t::subsize

Local extents per axis (length = ndim).

◆ offset

size_t* shafft_nd_layout_t::offset

Global starting indices per axis (length = ndim).

◆ localElements

size_t shafft_nd_layout_t::localElements

Product of subsize (total local elements).

Examples
example_portable_config.c.

◆ hasLocalElements

int shafft_nd_layout_t::hasLocalElements

Boolean: localElements > 0.

◆ contiguousAxes

int* shafft_nd_layout_t::contiguousAxes

Contiguous axis indices (length = nca).

◆ distributedAxes

int* shafft_nd_layout_t::distributedAxes

Distributed axis indices (length = nda).


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