Skip to content
Snippets Groups Projects
Commit 915875d3 authored by Nicolas Fley's avatar Nicolas Fley
Browse files

Comments for int variable added

parent 725dc7e5
Branches
No related tags found
No related merge requests found
...@@ -45,7 +45,10 @@ void prod_mat_vec(int width, int height, float * vector_res, float ** matrix, fl ...@@ -45,7 +45,10 @@ void prod_mat_vec(int width, int height, float * vector_res, float ** matrix, fl
} }
int main (int argc, char *argv[]) { int main (int argc, char *argv[]) {
int rank, size, size_prob, w_prob, h_prob, h_base; int rank, size,
size_prob, // problem size defined by the user (size of the matrix)
w_prob, // width of the matrix assigned to this processus (should be the same than the big matrix)
h_prob; // height of the matrix assigned to this processus
float * vector; // processus' x vector float * vector; // processus' x vector
float * vector_tot; // x vector agregation from all the processus float * vector_tot; // x vector agregation from all the processus
float * vector_res; // product matrix vector's result of the current processus float * vector_res; // product matrix vector's result of the current processus
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment