PandA-2024.02
|
Go to the source code of this file.
Macros | |
#define | ARRAY_SIZE 6000 |
#define | NUMS_OF_ACCEL 8 |
#define | OPS_PER_ACCEL ARRAY_SIZE/NUMS_OF_ACCEL |
Functions | |
int | product (int *inputA, int *inputB, int startidx, int maxidx) |
int | main () |
Variables | |
int | result_array [NUMS_OF_ACCEL] |
#define ARRAY_SIZE 6000 |
Definition at line 8 of file dotproduct.c.
#define NUMS_OF_ACCEL 8 |
Definition at line 9 of file dotproduct.c.
Referenced by main().
#define OPS_PER_ACCEL ARRAY_SIZE/NUMS_OF_ACCEL |
Definition at line 10 of file dotproduct.c.
int main | ( | void | ) |
Definition at line 28 of file dotproduct.c.
References A_array, B_array, NUMS_OF_ACCEL, OPS_PER_ACCEL, product(), result, and result_array.
int product | ( | int * | inputA, |
int * | inputB, | ||
int | startidx, | ||
int | maxidx | ||
) |
Definition at line 18 of file dotproduct.c.
References OPS_PER_ACCEL, and result.
Referenced by main().
int result_array[NUMS_OF_ACCEL] |
Definition at line 15 of file dotproduct.c.
Referenced by main().