Performance data was obtained on the J7ES EVM. EVM warm cycle obtained by profiling the kernel's compute code execution after a cold run of the same code. Please refer to the kernel's documentation for more information about the parameters in the tables shown below.
CNN kernels
This section contains tables that depict the expected performance numbers for the CNN kernels.
Row-wise Convolution
| Bit Width | Stride | Fr | Fc | Ni | No | inWidth | Pad | ValidColsIn | inChOffset | kDim | EVM Warm Cycles
|
| 8 | 1 | 1 | 1 | 32 | 64 | 256 | 0 | 8192 | 8256 | 64 | 8943
|
| 8 | 1 | 3 | 3 | 64 | 128 | 64 | 1 | 900 | 2048 | 640 | 16393
|
| 8 | 1 | 5 | 5 | 64 | 64 | 64 | 2 | 1034 | 2048 | 1664 | 20633 |
Depth-wise Convolution
| Bit Width | Stride | Dilation | Groups | Ni | No | Fr | Fc | Lr | Lc | EVM Warm Cycles
|
| 8 | 1 | 1 | 1 | 1 | 1 | 3 | 3 | 1024 | 128 | 6282
|
| 16 | 1 | 1 | 1 | 1 | 1 | 3 | 3 | 512 | 64 | 3239
|
| 8 | 2 | 1 | 4 | 1 | 1 | 3 | 3 | 256 | 256 | 6374
|
| 16 | 2 | 1 | 2 | 1 | 1 | 3 | 3 | 128 | 128 | 1741 |
Row-wise Deconvolution
| Bit Width | Stride | Fr | Fc | Ni | No | inWidth | Pad | ValidColsIn | inChOffset | EVM Warm Cycles
|
| 8 | 2 | 4 | 4 | 28 | 64 | 64 | 1 | 390 | 448 | 4655
|
| 8 | 2 | 4 | 4 | 64 | 1 | 128 | 1 | 774 | 832 | 4055 |
Fully-connected Layer
| Bit Width | Batch Size | Ni | No | Height H | Stride Y | Stride X | Stride H | EVM Warm Cycles
|
| 8 | 64 | 1280 | 64 | 1285 | 64 | 1600 | 82240 | 1725
|
| 16 | 64 | 1280 | 32 | 1289 | 64 | 2560 | 82496 | 3030 |
LINALG kernels
This section contains tables that depict expected performance numbers for the linear algebra kernels.
Matrix-matrix Multiplication
| Bit Width | m | k | n | Stride C | Stride A | Stride B | EVM Warm Cycles
|
| 8 | 255 | 255 | 255 | 320 | 320 | 320 | 4521
|
| 8 | 2048 | 64 | 64 | 64 | 64 | 64 | 2306 |
Matrix-matrix Multiply and Accumulate
| Bit Width | m | k | n | EVM Warm Cycles
|
| 8 | 65 | 257 | 257 | 5190
|
| 32 | 65 | 17 | 257 | 9484 |
Pointwise Matrix-matrix Multiply
| Bit Width | m | n | EVM Warm Cycles
|
| 8 | 1025 | 65 | 2228
|
| 16 | 513 | 33 | 1193
|
| 32 | 255 | 63 | 1211 |
Matrix Transpose
| Bit Width | M | N | EVM Warm Cycles
|
| 32 | 56 | 56 | 412
|
| 8 | 256 | 256 | 1470 |
DSP kernels
Shown below are the expected performance numbers for the FIR filter kernel.
FIR Filter
| Bit Width | Data Size | Batch Size | Filter Size | EVM Warm Cycles
|
| 32 | 2048 | 1 | 512 | 3840
|
| 32 | 4096 | 4 | 16 | 2231 |