mirror of
https://github.com/RustyRaptor/parallel-programming.git
synced 2026-12-03 23:55:23 -07:00
accidentally left the 3 in there
This commit is contained in:
1 parent
d1a1601e70
commit
a50132319e
1 file changed
+3
-3
@@ -87,7 +87,7 @@ void *count3s(void *idx)
|
||||
t_results[*index]++; // increment result
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// printf("Threads %d index %d size %d END %d \n", NUMOFTHREADS, *index, SIZE, myend);
|
||||
|
||||
// When we reach the final index we will calculate the remaining values in the array
|
||||
@@ -209,8 +209,8 @@ int main(int argc, char const *argv[])
|
||||
}
|
||||
|
||||
for (int i = 0; i < SIZE; i++) {
|
||||
// A[i] = rand() % 4;
|
||||
A[i] = 3;
|
||||
A[i] = rand() % 4;
|
||||
// A[i] = 3;
|
||||
|
||||
// printf("E%d \n", A[i]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user