![]() |
FFTLIB User Guide
|
This module consists of definitions (macros, structures, utility functions) that are commonly applicable to all FFTLIB kernels.
File to hold buffer parameter related info for FFTLIB.
Data Structures | |
| struct | FFTLIB_bufParams1D_t |
| A structure for a 1 dimensional buffer descriptor. More... | |
| struct | FFTLIB_bufParams2D_t |
| A structure for a 2 dimensional buffer descriptor. More... | |
| struct | FFTLIB_bufParams3D_t |
| A structure for a 3 dimensional buffer descriptor. More... | |
| struct | FFTLIB_bufParamsND_t |
| A structure for a N dimensional buffer descriptor. More... | |
Functions | |
| static int32_t | FFTLIB_sizeof (uint32_t type) |
| Inline function returns number of bytes per element given a type of _FFTLIB_data_type_e. More... | |
Typedefs | |
| typedef double | FFTLIB_D64 |
| Double precision floating point. More... | |
| typedef float | FFTLIB_F32 |
| Single precision floating point. More... | |
| typedef FFTLIB_STATUS_NAME | FFTLIB_STATUS |
| Return value for FFTLIB functions. More... | |
| typedef void * | FFTLIB_kernelHandle |
| Handle type for FFTLIB operations. More... | |
Macros | |
| #define | FFTLIB_ISSIGNED(type) ((type) < FFTLIB_UINT8 || (type) > FFTLIB_UINT128) |
| #define | FFTLIB_SIGNEDNESS(type) (FFTLIB_ISSIGNED((type)) ? "signed" : "unsigned") |
| #define | FFTLIB_PARAM_SIZE 128 |
| Parameter structure size in bytes. More... | |
| #define | FFTLIB_MMA_ACCUMULATOR_BYTE_WIDTH_8_BIT 4 |
| MMA accumulator width in bytes for 8 bit output data width. More... | |
| #define | FFTLIB_MMA_ACCUMULATOR_BYTE_WIDTH_16_BIT 8 |
| MMA accumulator width in bytes for 16 bit output data width. More... | |
| #define | FFTLIB_MMA_ACCUMULATOR_BYTE_WIDTH_32_BIT 16 |
| MMA accumulator width in bytes for 32 bit output data width. More... | |
| #define | FFTLIB_ALIGN_SHIFT_64BYTES 6 |
| Number of bits to shift for 64-byte memory alignment. More... | |
| #define | FFTLIB_ALIGN_SHIFT_128BYTES 7 |
| Number of bits to shift for 128-byte memory alignment. More... | |
| #define | FFTLIB_ALIGN_SHIFT_256BYTES 8 |
| Number of bits to shift for 256-byte memory alignment. More... | |
| #define | FFTLIB_ALIGN_64BYTES (1 << FFTLIB_ALIGN_SHIFT_64BYTES) |
| Align by 64-byte memory alignment. More... | |
| #define | FFTLIB_ALIGN_128BYTES (1 << FFTLIB_ALIGN_SHIFT_128BYTES) |
| Align by 128-byte memory alignment. More... | |
| #define | FFTLIB_ALIGN_256BYTES (1 << FFTLIB_ALIGN_SHIFT_256BYTES) |
| Align by 256-byte memory alignment. More... | |
| #define | FFTLIB_L2DATA_ALIGN_SHIFT FFTLIB_ALIGN_SHIFT_64BYTES |
| Set the default L2 data alignment. More... | |
| #define | FFTLIB_L2DATA_ALIGNMENT (((uint32_t)1) << ((uint32_t)FFTLIB_L2DATA_ALIGN_SHIFT)) |
| Macro that specifies the alignment of data buffers in L2 memory for optimal performance. More... | |
| #define FFTLIB_ISSIGNED | ( | type | ) | ((type) < FFTLIB_UINT8 || (type) > FFTLIB_UINT128) |
Definition at line 69 of file FFTLIB_bufParams.h.
| #define FFTLIB_SIGNEDNESS | ( | type | ) | (FFTLIB_ISSIGNED((type)) ? "signed" : "unsigned") |
Definition at line 70 of file FFTLIB_bufParams.h.
| #define FFTLIB_PARAM_SIZE 128 |
Parameter structure size in bytes.
Definition at line 225 of file FFTLIB_types.h.
| #define FFTLIB_MMA_ACCUMULATOR_BYTE_WIDTH_8_BIT 4 |
MMA accumulator width in bytes for 8 bit output data width.
Definition at line 227 of file FFTLIB_types.h.
| #define FFTLIB_MMA_ACCUMULATOR_BYTE_WIDTH_16_BIT 8 |
MMA accumulator width in bytes for 16 bit output data width.
Definition at line 228 of file FFTLIB_types.h.
| #define FFTLIB_MMA_ACCUMULATOR_BYTE_WIDTH_32_BIT 16 |
MMA accumulator width in bytes for 32 bit output data width.
Definition at line 229 of file FFTLIB_types.h.
| #define FFTLIB_ALIGN_SHIFT_64BYTES 6 |
Number of bits to shift for 64-byte memory alignment.
Definition at line 238 of file FFTLIB_types.h.
| #define FFTLIB_ALIGN_SHIFT_128BYTES 7 |
Number of bits to shift for 128-byte memory alignment.
Definition at line 240 of file FFTLIB_types.h.
| #define FFTLIB_ALIGN_SHIFT_256BYTES 8 |
Number of bits to shift for 256-byte memory alignment.
Definition at line 242 of file FFTLIB_types.h.
| #define FFTLIB_ALIGN_64BYTES (1 << FFTLIB_ALIGN_SHIFT_64BYTES) |
Align by 64-byte memory alignment.
Definition at line 245 of file FFTLIB_types.h.
| #define FFTLIB_ALIGN_128BYTES (1 << FFTLIB_ALIGN_SHIFT_128BYTES) |
Align by 128-byte memory alignment.
Definition at line 247 of file FFTLIB_types.h.
| #define FFTLIB_ALIGN_256BYTES (1 << FFTLIB_ALIGN_SHIFT_256BYTES) |
Align by 256-byte memory alignment.
Definition at line 249 of file FFTLIB_types.h.
| #define FFTLIB_L2DATA_ALIGN_SHIFT FFTLIB_ALIGN_SHIFT_64BYTES |
Set the default L2 data alignment.
Definition at line 252 of file FFTLIB_types.h.
| #define FFTLIB_L2DATA_ALIGNMENT (((uint32_t)1) << ((uint32_t)FFTLIB_L2DATA_ALIGN_SHIFT)) |
Macro that specifies the alignment of data buffers in L2 memory for optimal performance.
Definition at line 257 of file FFTLIB_types.h.
| typedef double FFTLIB_D64 |
Double precision floating point.
Definition at line 169 of file FFTLIB_types.h.
| typedef float FFTLIB_F32 |
Single precision floating point.
Definition at line 170 of file FFTLIB_types.h.
| typedef FFTLIB_STATUS_NAME FFTLIB_STATUS |
Return value for FFTLIB functions.
Definition at line 207 of file FFTLIB_types.h.
| typedef void* FFTLIB_kernelHandle |
Handle type for FFTLIB operations.
Definition at line 209 of file FFTLIB_types.h.
| enum FFTLIB_data_type_e |
The enumeration of all data types.
Definition at line 40 of file FFTLIB_bufParams.h.
| enum FFTLIB_dimension_e |
The enumeration of multidimensional buffer types.
| Enumerator | |
|---|---|
| FFTLIB_2D | Two dimensional buffer |
| FFTLIB_3D | Three dimensional buffer |
| FFTLIB_4D | Four dimensional buffer |
| FFTLIB_5D | Five dimensional buffer |
| FFTLIB_6D | Six dimensional buffer |
Definition at line 73 of file FFTLIB_bufParams.h.
| enum FFTLIB_STATUS_NAME |
The enumeration of all status codes.
Definition at line 173 of file FFTLIB_types.h.
Enumeration for the style of function implementation.
| Enumerator | |
|---|---|
| FFTLIB_FUNCTION_NATC | Natural C implementation of the function |
| FFTLIB_FUNCTION_OPTIMIZED | Optimized C implementation of the function for the MMA + C7x architecture |
| FFTLIB_FUNCTION_MAX | |
Definition at line 212 of file FFTLIB_types.h.
|
inlinestatic |
Inline function returns number of bytes per element given a type of _FFTLIB_data_type_e.
Definition at line 145 of file FFTLIB_bufParams.h.