|
SHAFFT 1.1.0-alpha
A Scalable High-dimensional Accelerated FFT Library
|
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] |
Simpler than N-D: no adjustable hints, no strategy/policy. Do NOT copy by value (owning pointers — double-free hazard).
| size_t shafft_1d_config_t::structSize |
Must be sizeof(shafft_1d_config_t).
| int shafft_1d_config_t::apiVersion |
API version (set by init).
| size_t shafft_1d_config_t::globalSize |
Global FFT length.
| shafft_t shafft_1d_config_t::precision |
SHAFFT_C2C or SHAFFT_Z2Z.
| shafft_1d_layout_t shafft_1d_config_t::initial |
Layout before execution.
| shafft_1d_layout_t shafft_1d_config_t::output |
Post-forward layout.
| size_t shafft_1d_config_t::allocElements |
Required buffer size in complex elements.
| int shafft_1d_config_t::isActive |
Boolean.
| int shafft_1d_config_t::activeRank |
Rank within active subset; -1 if inactive.
| int shafft_1d_config_t::activeSize |
Number of active ranks; 0 before resolve.
| MPI_Comm shafft_1d_config_t::worldComm |
Dup of communicator passed to init.
| MPI_Comm shafft_1d_config_t::activeComm |
Subcommunicator of active ranks; MPI_COMM_NULL if inactive.
| int shafft_1d_config_t::nodeId |
Node identifier.
| int shafft_1d_config_t::nodeCount |
Total number of distinct nodes.
| char* shafft_1d_config_t::hostname |
Config-owned.
| size_t shafft_1d_config_t::hostnameLen |
Length of hostname.
| char* shafft_1d_config_t::deviceName |
Config-owned; NULL if not applicable.
| size_t shafft_1d_config_t::deviceNameLen |
Length of deviceName.
| int shafft_1d_config_t::flags |
Bitwise OR of shafft_config_flags_t values.
| int shafft_1d_config_t::status |
Last resolve/init status code.
| int shafft_1d_config_t::reserved[8] |
Reserved for future use.