#define SE_PARAM_WORDS ((uint32_t)SE_PARAM_SIZE / sizeof(uint32_t)) #define TIDL_NUM_BLOCKS(width, stride) (((width) / (stride)) + ((((width) - (((width) / (stride)) * (stride))) > 0U) ? 1U : 0U)) #define TIDL_SIMD_WIDTH_SHIFT (6U) /* 2^6 = 64 8b elements in a 512b vector */ #define TIDL_SIMD_WIDTH (1U << TIDL_SIMD_WIDTH_SHIFT) #define TIDL_SIMD_WIDTH_RND (TIDL_SIMD_WIDTH >> 1U)
Hi, I am reading the source code in PSDK_RTOS/tidl_j721e_08_06_00_10/ti_dl/custom/tidsp/. I am comfused with these macro definitions.
What are the meanings of SE_PARAM_WORDS, TIDL_NUM_BLOCKS, TIDL_SIMD_WIDTH_SHIFT, TIDL_SIMD_WIDTH, TIDL_SIMD_WIDTH_RND?
And What are the meanings of their default values? Is there any reference or introduction?
Thanks for answering.