SPRADM6 December 2024 AM62D-Q1
The DSPLIB_dotprod kernel calculates the dot products of two vectors. The kernel supports data types including int8, uint8, int16, uint16, int32, uint32, float and double. Table 2-5 shows performance results of executing the dot product kernel on C7x DSP on AM62D for various data types. While the kernel supports any input vector length, results of only 1024 vectors are reported in this document. Performance of other sizes is listed in DSPLIB's user guide.
|
Data Type |
Data Size |
EVM Cycles |
Cycle/Sample |
|---|---|---|---|
|
Int8 |
1024 |
131 |
0.13 |
|
Int16 |
1024 |
132 |
0.13 |
|
Int16 |
16384 |
1112 |
0.07 |
|
Int |
1024 |
199 |
0.19 |
|
Float |
1024 |
229 |
0.22 |
|
Float |
32768 |
4211 |
0.13 |
|
Double |
1024 |
352 |
0.34 |