PandA-2024.02
Macros | Functions | Variables
add.c File Reference
#include <stdio.h>
#include "add.h"
Include dependency graph for add.c:

Go to the source code of this file.

Macros

#define NUM_ACCELS   8
 
#define ARRAY_SIZE   10000
 
#define OPS_PER_ACCEL   ARRAY_SIZE/NUM_ACCELS
 

Functions

void add (int accelnum, int startidx, int endidx)
 
int main ()
 

Variables

int output [NUM_ACCELS]
 

Macro Definition Documentation

◆ ARRAY_SIZE

#define ARRAY_SIZE   10000

Definition at line 2 of file add.c.

◆ NUM_ACCELS

#define NUM_ACCELS   8

Definition at line 1 of file add.c.

Referenced by main().

◆ OPS_PER_ACCEL

#define OPS_PER_ACCEL   ARRAY_SIZE/NUM_ACCELS

Definition at line 3 of file add.c.

Referenced by add(), and main().

Function Documentation

◆ add()

void add ( int  accelnum,
int  startidx,
int  endidx 
)

◆ main()

int main ( void  )

Definition at line 24 of file add.c.

References add(), NUM_ACCELS, OPS_PER_ACCEL, output, and sum.

Here is the call graph for this function:

Variable Documentation

◆ output

int output[NUM_ACCELS]

Definition at line 8 of file add.c.


Generated on Mon Feb 12 2024 13:03:07 for PandA-2024.02 by doxygen 1.8.13