Skip to content

Commit

Permalink
Merge pull request #608 from ndellingwood/issue-607
Browse files Browse the repository at this point in the history
trsv: workaround intel/19.0.4 interal compiler error
  • Loading branch information
ndellingwood authored Feb 19, 2020
2 parents 34604b0 + 7bb61b2 commit d514987
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/sparse/impl/KokkosSparse_trsv_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ lowerTriSolveCsr (RangeMultiVectorType X,
}
} // for each entry A_rc in the current row r
for (local_ordinal_type j = 0; j < numVecs; ++j) {
X(r, j) /= A_rr;
X(r, j) = X(r, j) / A_rr;
}
} // for each row r
}
Expand Down Expand Up @@ -250,7 +250,7 @@ upperTriSolveCsr (RangeMultiVectorType X,
}
} // for each entry A_rc in the current row r
for (local_ordinal_type j = 0; j < numVecs; ++j) {
X(r, j) /= A_rr;
X(r, j) = X(r, j) / A_rr;
}
} // for each row r

Expand All @@ -272,7 +272,7 @@ upperTriSolveCsr (RangeMultiVectorType X,
}
} // for each entry A_rc in the current row r
for (local_ordinal_type j = 0; j < numVecs; ++j) {
X(r, j) /= A_rr;
X(r, j) = X(r, j) / A_rr;
}
} // last iteration: r = 0
}
Expand Down Expand Up @@ -395,7 +395,7 @@ upperTriSolveCsc (RangeMultiVectorType X,
}
} // for each entry A_rc in the current column c
for (local_ordinal_type j = 0; j < numVecs; ++j) {
X(c, j) /= A_cc;
X(c, j) = X(c, j) / A_cc;
}
} // for each column c

Expand All @@ -421,7 +421,7 @@ upperTriSolveCsc (RangeMultiVectorType X,
}
} // for each entry A_rc in the current column c
for (local_ordinal_type j = 0; j < numVecs; ++j) {
X(c, j) /= A_cc;
X(c, j) = X(c, j) / A_cc;
}
}
}
Expand Down Expand Up @@ -584,7 +584,7 @@ upperTriSolveCscConj (RangeMultiVectorType X,
}
} // for each entry A_rc in the current column c
for (local_ordinal_type j = 0; j < numVecs; ++j) {
X(c, j) /= A_cc;
X(c, j) = X(c, j) / A_cc;
}
} // for each column c

Expand All @@ -610,7 +610,7 @@ upperTriSolveCscConj (RangeMultiVectorType X,
}
} // for each entry A_rc in the current column c
for (local_ordinal_type j = 0; j < numVecs; ++j) {
X(c, j) /= A_cc;
X(c, j) = X(c, j) / A_cc;
}
}
}
Expand Down Expand Up @@ -662,7 +662,7 @@ lowerTriSolveCsc (RangeMultiVectorType X,
}
} // for each entry A_rc in the current column c
for (local_ordinal_type j = 0; j < numVecs; ++j) {
X(c, j) /= A_cc;
X(c, j) = X(c, j) / A_cc;
}
} // for each column c
}
Expand Down Expand Up @@ -754,7 +754,7 @@ lowerTriSolveCscConj (RangeMultiVectorType X,
}
} // for each entry A_rc in the current column c
for (local_ordinal_type j = 0; j < numVecs; ++j) {
X(c, j) /= A_cc;
X(c, j) = X(c, j) / A_cc;
}
} // for each column c
}
Expand Down

0 comments on commit d514987

Please sign in to comment.