![]() |
DSPLIB User Guide
|
File to hold common structure, enums, macros and functions for DSPLIB.
Definition in file DSPLIB_types.h.
Go to the source code of this file.
Macros | |
| #define | DSPLIB_DEBUGPRINT 0 |
| Enable debug printf statements. More... | |
| #define | DSPLIB_const const |
| #define | __PRAGMA(x) _Pragma(#x) |
| #define | __INLINE_FUNC(x) __PRAGMA(FUNC_ALWAYS_INLINE(x)) |
| #define | DSPLIB_DEBUGPRINTFN(N, fmt, ...) |
| #define | DSPLIB_PRINTF(fmt, ...) |
| #define | DSPLIB_MESG(fmt, ...) |
| #define | DSPLIB_SOFT_MMA_RESET 0 |
| #define | DSPLIB_STATIC_INLINE static inline |
| #define | DSPLIB_PARAM_SIZE 128 |
| Parameter structure size in bytes. More... | |
| #define | DSPLIB_MMA_ACCUMULATOR_BYTE_WIDTH_8_BIT 4 |
| MMA accumulator width in bytes for 8 bit output data width. More... | |
| #define | DSPLIB_MMA_ACCUMULATOR_BYTE_WIDTH_16_BIT 8 |
| MMA accumulator width in bytes for 16 bit output data width. More... | |
| #define | DSPLIB_MMA_ACCUMULATOR_BYTE_WIDTH_32_BIT 16 |
| MMA accumulator width in bytes for 32 bit output data width. More... | |
| #define | DSPLIB_ALIGN_SHIFT_64BYTES 6 |
| Number of bits to shift for 64-byte memory alignment. More... | |
| #define | DSPLIB_ALIGN_SHIFT_128BYTES 7 |
| Number of bits to shift for 128-byte memory alignment. More... | |
| #define | DSPLIB_ALIGN_SHIFT_256BYTES 8 |
| Number of bits to shift for 256-byte memory alignment. More... | |
| #define | DSPLIB_ALIGN_64BYTES (1 << DSPLIB_ALIGN_SHIFT_64BYTES) |
| Align by 64-byte memory alignment. More... | |
| #define | DSPLIB_ALIGN_128BYTES (1 << DSPLIB_ALIGN_SHIFT_128BYTES) |
| Align by 128-byte memory alignment. More... | |
| #define | DSPLIB_ALIGN_256BYTES (1 << DSPLIB_ALIGN_SHIFT_256BYTES) |
| Align by 256-byte memory alignment. More... | |
| #define | DSPLIB_L2DATA_ALIGN_SHIFT DSPLIB_ALIGN_SHIFT_64BYTES |
| Set the default L2 data alignment. More... | |
| #define | DSPLIB_L2DATA_ALIGNMENT (((uint32_t)1) << ((uint32_t)DSPLIB_L2DATA_ALIGN_SHIFT)) |
| Macro that specifies the alignment of data buffers in L2 memory for optimal performance. More... | |
Typedefs | |
| typedef double | DSPLIB_D64 |
| Double precision floating point. More... | |
| typedef float | DSPLIB_F32 |
| Single precision floating point. More... | |
| typedef DSPLIB_STATUS_NAME | DSPLIB_STATUS |
| Return value for DSPLIB functions. More... | |
| typedef void * | DSPLIB_kernelHandle |
| Handle type for DSPLIB operations. More... | |
| typedef DSPLIB_tensor_format_e | DSPLIB_tensor_format |
| #define DSPLIB_DEBUGPRINT 0 |
Enable debug printf statements.
Definition at line 50 of file DSPLIB_types.h.
| #define DSPLIB_const const |
Definition at line 56 of file DSPLIB_types.h.
| #define __PRAGMA | ( | x | ) | _Pragma(#x) |
Definition at line 59 of file DSPLIB_types.h.
| #define __INLINE_FUNC | ( | x | ) | __PRAGMA(FUNC_ALWAYS_INLINE(x)) |
Definition at line 63 of file DSPLIB_types.h.
| #define DSPLIB_DEBUGPRINTFN | ( | N, | |
| fmt, | |||
| ... | |||
| ) |
Definition at line 106 of file DSPLIB_types.h.
| #define DSPLIB_PRINTF | ( | fmt, | |
| ... | |||
| ) |
Definition at line 107 of file DSPLIB_types.h.
| #define DSPLIB_MESG | ( | fmt, | |
| ... | |||
| ) |
Definition at line 117 of file DSPLIB_types.h.
| #define DSPLIB_SOFT_MMA_RESET 0 |
Definition at line 138 of file DSPLIB_types.h.
| #define DSPLIB_STATIC_INLINE static inline |
Definition at line 141 of file DSPLIB_types.h.