Skip to content

Commit

Permalink
Fix spot-checks with CXX14
Browse files Browse the repository at this point in the history
  • Loading branch information
e10harvey authored and ndellingwood committed Sep 22, 2020
1 parent 9a3c142 commit 5ad4fa1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/batched/KokkosBatched_SetTriangular_Internal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ namespace KokkosBatched {
const int jdist = j+ dist;
Kokkos::parallel_for
(Kokkos::ThreadVectorRange(member, m),
[&](const int &i) {
[=](const int &i) {
if (i >= jdist)
A[i*as0+j*as1] = alpha;
});
Expand Down
2 changes: 1 addition & 1 deletion unit_test/batched/Test_Batched_TeamVectorSolveUTV.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ namespace Test {
} else {
Kokkos::parallel_for
(Kokkos::TeamVectorRange(member, m*m),
[&](const int &ij) {
[=](const int &ij) {
const int i = ij/m, j = ij%m;
value_type tmp(0);
for (int l=0;l<r;++l)
Expand Down
2 changes: 1 addition & 1 deletion unit_test/batched/Test_Batched_TeamVectorSolveUTV2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ namespace Test {
} else {
Kokkos::parallel_for
(Kokkos::TeamVectorRange(member, m*m),
[&](const int &ij) {
[=](const int &ij) {
const int i = ij/m, j = ij%m;
value_type tmp(0);
for (int l=0;l<r;++l)
Expand Down
2 changes: 1 addition & 1 deletion unit_test/batched/Test_Batched_TeamVectorUTV.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ namespace Test {
} else {
Kokkos::parallel_for
(Kokkos::TeamVectorRange(member, m*m),
[&](const int &ij) {
[=](const int &ij) {
const int i = ij/m, j = ij%m;
value_type tmp(0);
for (int l=0;l<r;++l)
Expand Down

0 comments on commit 5ad4fa1

Please sign in to comment.