This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
void testMatrixMultiply(tivxRadarFft1DTransParams *prms) { int i, j; MMALIB_kernelHandle handle = malloc(MMA_MULTIPLY_HANDLE_SIZE); matrixMultiplyInit(&handle, 1, 32, 160, 0, MMALIB_INT32); int32_t *matA = prms->pL2_FFTData; int32_t *matB = matA+32; int32_t *matC = matB+32*160; MMALIB_LINALG_matrixMatrixMultiply_ixX_ixX_oxX_exec_checkParams(handle, matA, matB, matC); uint64_t time1 = tivxPlatformGetTimeInUsecs(); for(i=0; i<2000; i++) { matrixMultiExec(&handle, matA, matB, matC); } uint64_t time2 = tivxPlatformGetTimeInUsecs(); printf("matrix multi total time= %lu. \n", time2-time1); free(handle); }