Semester project for Multicore
Compile:
gcc -O2 -fopenmp project.c -o project -lm
Run commands:
./project [PROBLEM_SIZE] [NUM_THREADS] [OPERATION]
For example:
./project 100 8 2
Available Operations:
0=compute, 1=stream, and 2=barrier_heavy
It should output something like
array_size=100 threads=8 operation=2 sq_time=0.035868 par_time=0.015397 speedup=2.329544717
Automation Commands:
- operation number: 0, 1, or 2
python3 automation.py [operation number]
This will generate a csv file of speedup related to the operation number.