![]() |
FFTLIB User Guide
|
File to hold common structure, enums, macros and functions for FFTLIB.
Definition in file FFTLIB_types.h.
Go to the source code of this file.
Macros | |
| #define | FFTLIB_DEBUGPRINT 0 |
| Enable debug printf statements. More... | |
| #define | FFTLIB_const const |
| #define | __PRAGMA(x) _Pragma(#x) |
| #define | __INLINE_FUNC(x) __PRAGMA(FUNC_ALWAYS_INLINE(x)) |
| #define | FFTLIB_DEBUGPRINTFN(N, fmt, ...) |
| #define | FFTLIB_PRINTF(fmt, ...) |
| #define | FFTLIB_MESG(fmt, ...) |
| #define | FFTLIB_SOFT_MMA_RESET 0 |
| #define | FFTLIB_STATIC_INLINE static inline |
| #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... | |
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... | |
| #define FFTLIB_DEBUGPRINT 0 |
Enable debug printf statements.
Definition at line 54 of file FFTLIB_types.h.
| #define FFTLIB_const const |
Definition at line 60 of file FFTLIB_types.h.
| #define __PRAGMA | ( | x | ) | _Pragma(#x) |
Definition at line 63 of file FFTLIB_types.h.
| #define __INLINE_FUNC | ( | x | ) | __PRAGMA(FUNC_ALWAYS_INLINE(x)) |
Definition at line 67 of file FFTLIB_types.h.
| #define FFTLIB_DEBUGPRINTFN | ( | N, | |
| fmt, | |||
| ... | |||
| ) |
Definition at line 107 of file FFTLIB_types.h.
| #define FFTLIB_PRINTF | ( | fmt, | |
| ... | |||
| ) |
Definition at line 108 of file FFTLIB_types.h.
| #define FFTLIB_MESG | ( | fmt, | |
| ... | |||
| ) |
Definition at line 118 of file FFTLIB_types.h.
| #define FFTLIB_SOFT_MMA_RESET 0 |
Definition at line 138 of file FFTLIB_types.h.
| #define FFTLIB_STATIC_INLINE static inline |
Definition at line 141 of file FFTLIB_types.h.
| #define FFTLIB_PARAM_SIZE 128 |
Parameter structure size in bytes.
Definition at line 233 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 235 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 236 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 237 of file FFTLIB_types.h.
| #define FFTLIB_ALIGN_SHIFT_64BYTES 6 |
Number of bits to shift for 64-byte memory alignment.
Definition at line 245 of file FFTLIB_types.h.
| #define FFTLIB_ALIGN_SHIFT_128BYTES 7 |
Number of bits to shift for 128-byte memory alignment.
Definition at line 246 of file FFTLIB_types.h.
| #define FFTLIB_ALIGN_SHIFT_256BYTES 8 |
Number of bits to shift for 256-byte memory alignment.
Definition at line 247 of file FFTLIB_types.h.
| #define FFTLIB_ALIGN_64BYTES (1 << FFTLIB_ALIGN_SHIFT_64BYTES) |
Align by 64-byte memory alignment.
Definition at line 249 of file FFTLIB_types.h.
| #define FFTLIB_ALIGN_128BYTES (1 << FFTLIB_ALIGN_SHIFT_128BYTES) |
Align by 128-byte memory alignment.
Definition at line 250 of file FFTLIB_types.h.
| #define FFTLIB_ALIGN_256BYTES (1 << FFTLIB_ALIGN_SHIFT_256BYTES) |
Align by 256-byte memory alignment.
Definition at line 251 of file FFTLIB_types.h.
| #define FFTLIB_L2DATA_ALIGN_SHIFT FFTLIB_ALIGN_SHIFT_64BYTES |
Set the default L2 data alignment.
Definition at line 253 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 168 of file FFTLIB_types.h.
| typedef float FFTLIB_F32 |
Single precision floating point.
Definition at line 169 of file FFTLIB_types.h.
| typedef FFTLIB_STATUS_NAME FFTLIB_STATUS |
Return value for FFTLIB functions.
Definition at line 215 of file FFTLIB_types.h.
| typedef void* FFTLIB_kernelHandle |
Handle type for FFTLIB operations.
Definition at line 217 of file FFTLIB_types.h.
| enum FFTLIB_STATUS_NAME |
The enumeration of all status codes.
Definition at line 172 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 220 of file FFTLIB_types.h.