Skip to content

Commit e156033

Browse files
test commit : fixing extra benchmark time
1 parent 3e9a4ec commit e156033

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/FlowAware.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,13 +131,10 @@ void IR2Vec_FA::generateFlowAwareEncodings(std::ostream *o,
131131
std::ostream *cyclicCount) {
132132

133133
int noOfFunc = 0;
134-
#pragma omp parallel for
135134
for (auto &f : M) {
136135
if (!f.isDeclaration()) {
137136
auto tmp = func2Vec(f);
138-
139-
#pragma omp critical
140-
{ funcVecMap[&f] = tmp; }
137+
funcVecMap[&f] = tmp;
141138
}
142139
}
143140

src/include/VectorSolver.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ matrix solve(matrix &A, matrix &B) {
7777
}
7878

7979
matrix augmented(m, std::vector<double>(m + n));
80-
#pragma omp parallel for
8180
for (int i = 0; i < m; ++i) {
8281
for (int j = 0; j < m; ++j) {
8382
augmented[i][j] = A[i][j];
@@ -88,7 +87,6 @@ matrix solve(matrix &A, matrix &B) {
8887
}
8988
gaussJordan(augmented, B[0].size(), B);
9089
matrix X(m, std::vector<double>(n));
91-
#pragma omp parallel for
9290
for (int i = 0; i < m; ++i) {
9391
for (int j = 0; j < n; ++j) {
9492
X[i][j] = B[i][j];

0 commit comments

Comments
 (0)