![]() |
FFTLIB User Guide
|
File to hold common structure, enums, macros and functions for FFTLIB.
Definition in file c7504/FFTLIB_types.h.
Go to the source code of this file.
Macros | |
| #define | FFTLIB_BYTE_WIDTH 32 |
| MMA width in bytes. More... | |
| #define | FFTLIB_CALC_STRIDE(BYTES, ALIGN_SHIFT) (((((BYTES)-1) >> (ALIGN_SHIFT)) + 1) << (ALIGN_SHIFT)) |
| Macro function that computes the minimum stride for the specified number of bytes and alignment. More... | |
| #define | FFTLIB_MMA_SIZE_8_BIT_SHIFT 5 |
| Macro for FFTLIB shift amounts. More... | |
| #define | FFTLIB_MMA_SIZE_16_BIT_SHIFT 4 |
| Shift for MMA size when data type is 16-bit integers. More... | |
| #define | FFTLIB_MMA_SIZE_32_BIT_SHIFT 3 |
| Shift for MMA size when data type is 32-bit integers. More... | |
| #define | FFTLIB_MMA_SIZE_8_BIT |
| MMA size as a function of precision. More... | |
| #define | FFTLIB_MMA_SIZE_16_BIT |
| type is 16-bit integers More... | |
| #define | FFTLIB_MMA_SIZE_32_BIT |
| type is 32-bit integers More... | |
Typedefs | |
| typedef FFTLIB_enableDynamicRange_type_e | FFTLIB_enableDynamicRange_type |
| Type for enableDynamicRange variables. More... | |
| typedef FFTLIB_initDynamicRange_type_e | FFTLIB_initDynamicRange_type |
| Type for initDynamicRange variables. More... | |
| typedef FFTLIB_quantMethod_type_e | FFTLIB_quantMethod_type |
| Type for initDynamicRange variables. More... | |
| #define FFTLIB_BYTE_WIDTH 32 |
MMA width in bytes.
Definition at line 157 of file c7504/FFTLIB_types.h.
| #define FFTLIB_CALC_STRIDE | ( | BYTES, | |
| ALIGN_SHIFT | |||
| ) | (((((BYTES)-1) >> (ALIGN_SHIFT)) + 1) << (ALIGN_SHIFT)) |
Macro function that computes the minimum stride for the specified number of bytes and alignment.
Definition at line 167 of file c7504/FFTLIB_types.h.
| #define FFTLIB_MMA_SIZE_8_BIT_SHIFT 5 |
Macro for FFTLIB shift amounts.
Shift for MMA size when data type is 8-bit integers
Definition at line 172 of file c7504/FFTLIB_types.h.
| #define FFTLIB_MMA_SIZE_16_BIT_SHIFT 4 |
Shift for MMA size when data type is 16-bit integers.
Definition at line 174 of file c7504/FFTLIB_types.h.
| #define FFTLIB_MMA_SIZE_32_BIT_SHIFT 3 |
Shift for MMA size when data type is 32-bit integers.
Definition at line 176 of file c7504/FFTLIB_types.h.
| #define FFTLIB_MMA_SIZE_8_BIT |
MMA size as a function of precision.
Shift for MMA size when data type is 8-bit integers
Definition at line 183 of file c7504/FFTLIB_types.h.
| #define FFTLIB_MMA_SIZE_16_BIT |
type is 16-bit integers
Shift for MMA size when data
Definition at line 187 of file c7504/FFTLIB_types.h.
| #define FFTLIB_MMA_SIZE_32_BIT |
type is 32-bit integers
Shift for MMA size when data
Definition at line 191 of file c7504/FFTLIB_types.h.
Type for enableDynamicRange variables.
Definition at line 141 of file c7504/FFTLIB_types.h.
Type for initDynamicRange variables.
Definition at line 142 of file c7504/FFTLIB_types.h.
Type for initDynamicRange variables.
Definition at line 149 of file c7504/FFTLIB_types.h.
The enumeration of possible activation operations on the computation.
Definition at line 120 of file c7504/FFTLIB_types.h.
The enumeration of possible dynamic range enable settings.
Definition at line 130 of file c7504/FFTLIB_types.h.
The enumeration of possible dynamic range reset options.
Definition at line 136 of file c7504/FFTLIB_types.h.
The enumeration of possible quantization methods.
| Enumerator | |
|---|---|
| FFTLIB_QUANT_PER_KERNEL | |
| FFTLIB_QUANT_PER_CHANNEL | |
| FFTLIB_QUANT_PER_KERNEL | |
| FFTLIB_QUANT_PER_CHANNEL | |
| FFTLIB_QUANT_PER_KERNEL | |
| FFTLIB_QUANT_PER_CHANNEL | |
Definition at line 145 of file c7504/FFTLIB_types.h.