File generator.c
generates Matrix (size*size):
gcc generator.c -o generator.out
./generator.ou2t <size>
- And there is "matrix.bin" file with Matrix (size*size) inside it.
Then it is necessary to run main.c
:
gcc -pthread main.c -o main.out
./main.out <num_threads>
- Output contains:
- # MAXIMUM
- # indexes of MAXIMUM
- # MINIMUM
- # indexes of MINIMUM