Skip to content

Commit f0a1676

Browse files
author
cs293-ahilkhancse
committed
removed int //psum = arr[i]
1 parent 7ba1a3b commit f0a1676

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/wrong_sum.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ int parallel_sum(const int arr[], int size, int step_size) {
2020
#pragma omp task
2121
{
2222
int psum = 0;
23-
// int psum = arr[i];
2423
std::cout << "Task computing Sum(" << start << "," << end << ") from "
2524
<< omp_get_thread_num() << " of " << omp_get_num_threads() << std::endl;
2625

0 commit comments

Comments
 (0)