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

1-D configuration object (C POD struct). More...

#include <shafft.h>

Public Attributes

size_t structSize
 
int apiVersion
 
size_t globalSize
 
shafft_t precision
 
shafft_1d_layout_t initial
 
shafft_1d_layout_t output
 
size_t allocElements
 
int isActive
 
int activeRank
 
int activeSize
 
MPI_Comm worldComm
 
MPI_Comm activeComm
 
int nodeId
 
int nodeCount
 
char * hostname
 
size_t hostnameLen
 
char * deviceName
 
size_t deviceNameLen
 
int flags
 
int status
 
int reserved [8]
 

Detailed Description

Simpler than N-D: no adjustable hints, no strategy/policy. Do NOT copy by value (owning pointers — double-free hazard).

Member Data Documentation

◆ structSize

size_t shafft_1d_config_t::structSize

Must be sizeof(shafft_1d_config_t).

◆ apiVersion

int shafft_1d_config_t::apiVersion

API version (set by init).

◆ globalSize

size_t shafft_1d_config_t::globalSize

Global FFT length.

◆ precision

shafft_t shafft_1d_config_t::precision

SHAFFT_C2C or SHAFFT_Z2Z.

◆ initial

shafft_1d_layout_t shafft_1d_config_t::initial

Layout before execution.

◆ output

shafft_1d_layout_t shafft_1d_config_t::output

Post-forward layout.

◆ allocElements

size_t shafft_1d_config_t::allocElements

Required buffer size in complex elements.

◆ isActive

int shafft_1d_config_t::isActive

Boolean.

◆ activeRank

int shafft_1d_config_t::activeRank

Rank within active subset; -1 if inactive.

◆ activeSize

int shafft_1d_config_t::activeSize

Number of active ranks; 0 before resolve.

◆ worldComm

MPI_Comm shafft_1d_config_t::worldComm

Dup of communicator passed to init.

◆ activeComm

MPI_Comm shafft_1d_config_t::activeComm

Subcommunicator of active ranks; MPI_COMM_NULL if inactive.

◆ nodeId

int shafft_1d_config_t::nodeId

Node identifier.

◆ nodeCount

int shafft_1d_config_t::nodeCount

Total number of distinct nodes.

◆ hostname

char* shafft_1d_config_t::hostname

Config-owned.

◆ hostnameLen

size_t shafft_1d_config_t::hostnameLen

Length of hostname.

◆ deviceName

char* shafft_1d_config_t::deviceName

Config-owned; NULL if not applicable.

◆ deviceNameLen

size_t shafft_1d_config_t::deviceNameLen

Length of deviceName.

◆ flags

int shafft_1d_config_t::flags

Bitwise OR of shafft_config_flags_t values.

◆ status

int shafft_1d_config_t::status

Last resolve/init status code.

◆ reserved

int shafft_1d_config_t::reserved[8]

Reserved for future use.


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