Other Parts Discussed in Thread: CCSTUDIO
Hi.
I used EVM C6747 with CCS v3.3. I tried the following code and it takes 2050ms to complete. I have already tune the build option for optimization level 3 (build details as below) . Any suggestion or idea to improve the performance significantly? i wish to obtain within tenth mili-seconds as this algorithm will affect my whole system. Can you guys benchmark with your systems and compare with mine?
TQ.
/*********************CODE START************************/
unsigned short SenMap [32][32][128][128];
float WBM [128][128];
for (tx=0;tx<32;tx++)
{ for (rx=0;rx<32;rx++)
{
for ( x=0;x<128;x++)
{ for ( y=0;y<128;y++)
{
WBM[x][y] = WBM[x][y] + (SenMap[tx][rx][x][y] * 255);
}
}
}
}
/*********************CODE END***************************/
------------------------- Uart_example.pjt - Release -------------------------
"C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -k -pm -op2 -o3 -fr"../obj/release" -i"../../../../../../../" -mo -ml3 -mf5 -mv6700 -mv6740 -@"../build/Release.lkf"
[Pllc_example.c]
[uart_example.c]
"C:\Program Files\Texas Instruments\pspdrivers_01_20_00\packages\ti\pspiom\cslr\evmOMAPL137\examples\uart\src\uart_example.c", line 52: warning: variable "large" was declared but never referenced
<Optimizing>
<Generating>
<Assembling>
[Linking...] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Release.lkf"
<Linking>
Build Complete,
0 Errors, 1 Warnings, 0 Remarks.