![]() |
FFTLIB User Guide
|
File to hold common structure, enums, macros and functions for FFTLIB.
Definition in file c7120/FFTLIB_types.h.
Go to the source code of this file.
Macros | |
| #define | FFTLIB_BYTE_WIDTH 64 |
| 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 6 |
| Macro for FFTLIB shift amounts. More... | |
| #define | FFTLIB_MMA_SIZE_16_BIT_SHIFT 5 |
| Shift for MMA size when data type is 16-bit integers. More... | |
| #define | FFTLIB_MMA_SIZE_32_BIT_SHIFT 4 |
| 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 64 |
MMA width in bytes.
Definition at line 180 of file c7120/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 188 of file c7120/FFTLIB_types.h.
| #define FFTLIB_MMA_SIZE_8_BIT_SHIFT 6 |
Macro for FFTLIB shift amounts.
Shift for MMA size when data type is 8-bit integers
Definition at line 193 of file c7120/FFTLIB_types.h.
| #define FFTLIB_MMA_SIZE_16_BIT_SHIFT 5 |
Shift for MMA size when data type is 16-bit integers.
Definition at line 195 of file c7120/FFTLIB_types.h.
| #define FFTLIB_MMA_SIZE_32_BIT_SHIFT 4 |
Shift for MMA size when data type is 32-bit integers.
Definition at line 197 of file c7120/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 204 of file c7120/FFTLIB_types.h.
| #define FFTLIB_MMA_SIZE_16_BIT |
type is 16-bit integers
Shift for MMA size when data
Definition at line 208 of file c7120/FFTLIB_types.h.
| #define FFTLIB_MMA_SIZE_32_BIT |
type is 32-bit integers
Shift for MMA size when data
Definition at line 212 of file c7120/FFTLIB_types.h.
Type for enableDynamicRange variables.
Definition at line 165 of file c7120/FFTLIB_types.h.
Type for initDynamicRange variables.
Definition at line 166 of file c7120/FFTLIB_types.h.
Type for initDynamicRange variables.
Definition at line 173 of file c7120/FFTLIB_types.h.
The enumeration of possible activation operations on the computation.
Definition at line 144 of file c7120/FFTLIB_types.h.
The enumeration of possible dynamic range enable settings.
Definition at line 154 of file c7120/FFTLIB_types.h.
The enumeration of possible dynamic range reset options.
Definition at line 160 of file c7120/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 169 of file c7120/FFTLIB_types.h.